From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.84.56 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796114695; b=A9zgALb6DrcYtOq1pyQNSJoXahbGrjlHHHr7UdEywgHhHS0kpK/MJMZ80DEt9n5/C0/w dO8LkDv+1G4aU4HINNU/rrAMqebScnypIgY/r7Ni9K7H5RpAn8axXqWYEyJvHeOJnv/jN 1zK0ajgv9Y2IZygfzyIHfM3938Vo7t6bhCz1ZgAE+mkNmxeBJDcMZsA3UD2v94HunoTV8 PFTd/pNWwS7PZksWi3EfOVY5quJ0IPbJicbnL7e02hkcPDvflDKSAPuDW8WxsnQRt6Lwa ZXj8cUXUfvhIRUIH7BVQmCSAwXvuRWrTdPs34JC5jc97OPfjxpN0L7pWDvAeySZjFBw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796114695; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:Mime-Version: Content-Transfer-Encoding:Content-Type:Date:Message-Id:Subject:Cc:To: From:X-Mailer:References:In-Reply-To:X-Last-TLS-Session-Version; bh=mhsoeIh2iqs7whQjMIgst76usV7wNmucOoLMYMa1gdk=; b=jgbggvIWbg3tRenUAs2JxiOCm7NDFtLB5IfmQBLNWXYHs44V2k7ruvabO4kGaJCtRWDM qHsZ/IBJOFSC4roYk7McYHkIMM092RZXsZk/OWDb2Jtp5Lq/SjoJ0GMh2hQIL7IPndeEZ oOPm+h0waoVtFhpZF+ZYhnxXY52vssu72vJ0K6G67MqZp/4DY1EqIS2M/In0oDSoERBBe 6wyN0WRJWalZij3uA5PC1B1/j4COdLKL9hCnEJc3BurLz6iq48wC7vbghp4bhkFlZLKZd 4rAzbF58JRGeYAV61FJdCZ6iwsLviGe9Dl0JoXid199Z1jRyHKcYPSHH1fajZuAXr2Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=ljD0oc35; arc=none smtp.remote-ip=185.246.84.56 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FD5C606A31A for ; Tue, 1 Dec 2026 08:44:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4FD5C606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=ljD0oc35 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 9BB571A1806; Tue, 1 Dec 2026 08:44:53 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 6EB6B603CB; Tue, 1 Dec 2026 08:44:53 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 35DEF11EA09AC; Tue, 01 Dec 2026 09:44:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796114692; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=mhsoeIh2iqs7whQjMIgst76usV7wNmucOoLMYMa1gdk=; b=ljD0oc357d4XhltPwtq5UTCcZwZcvfZng7gj2we4RVizOkUsbmQLpuMgdgLX/1Dl7tmYbV VEQGDPr1cQoYOcDqlodY6kNqMFJJ4Baw/edLoCAP62ATpp5oKLpfjuu35cMlu4d97CVEcW B9LSaYZkhlMRVWrvhKyjrXqQp1nv8DVJHNOxGCUB6UvT4cAeBH1gxCw/XOB0553Up5iaXd ymNGHoZTYxHfaNkXKKbojr4Dj68Zoap9O2rqo2MYppo4cI/ufrXPcVWa5jyQj/gvFulSpd mRrKhp+SveZbXEuGD4xqGRrY6IItUnujxy75nfTUihcj0elPhkmFu2dfOwozaQ== X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 01 Dec 2026 09:44:43 +0100 Message-Id: Subject: Re: [PATCH] drm/bridge: ti-sn65dsi86: fail PWM probe if runtime PM setup fails Cc: "Douglas Anderson" , "Laurent Pinchart" , "Jonas Karlman" , "Jernej Skrabec" , "Luca Ceresoli" , , To: "Jiawen Liu" <1298662399@qq.com>, "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Simona Vetter" From: "Luca Ceresoli" X-Mailer: aerc 0.22.0 References: In-Reply-To: X-Last-TLS-Session-Version: TLSv1.3 On Sun Nov 29, 2026 at 2:43 PM CET, Jiawen Liu wrote: > ti_sn_pwm_probe() ignored a failure from devm_pm_runtime_enable(). The > helper rolls runtime PM back when action registration fails, but the > probe could then successfully register the PWM chip. A later PWM apply > operation would be unable to resume the auxiliary device. > > Propagate the runtime PM setup error before registering the PWM chip. > > Fixes: eb3f7cbee294 ("drm/bridge: ti-sn65dsi86: Associate PWM device to a= uxiliary device") > Signed-off-by: Jiawen Liu <1298662399@qq.com> Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com