From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 957EB606A32C for ; Tue, 1 Dec 2026 08:45:06 +0000 (UTC) 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 gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E407E10E974; Tue, 1 Dec 2026 08:45:00 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1525B10E974 for ; Tue, 1 Dec 2026 08:44:54 +0000 (UTC) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id EA060C2AC7D; Tue, 1 Dec 2026 08:45:03 +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-Archived-By: 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "dri-devel" X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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