[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <g7r2rdhqswf2lph4r2qquxclaxr6aa3xd5mfzxhaq3anwaasdt@iepmswqob56g>
Date: Thu, 27 Nov 2025 19:17:04 +0800
From: Xu Yang <xu.yang_2@....com>
To: Franz Schnyder <fra.schnyder@...il.com>
Cc: Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>, Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, Franz Schnyder <franz.schnyder@...adex.com>,
linux-phy@...ts.infradead.org, imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Francesco Dolcini <francesco.dolcini@...adex.com>,
Neil Armstrong <neil.armstrong@...aro.org>, stable@...r.kernel.org
Subject: Re: [PATCH v2] phy: fsl-imx8mq-usb: fix typec orientation switch
when built as module
On Wed, Nov 26, 2025 at 03:01:33PM +0100, Franz Schnyder wrote:
> From: Franz Schnyder <franz.schnyder@...adex.com>
>
> Currently, the PHY only registers the typec orientation switch when it
> is built in. If the typec driver is built as a module, the switch
> registration is skipped due to the preprocessor condition, causing
> orientation detection to fail.
>
> With commit
> 45fe729be9a6 ("usb: typec: Stub out typec_switch APIs when CONFIG_TYPEC=n")
> the preprocessor condition is not needed anymore and the orientation
> switch is correctly registered for both built-in and module builds.
>
> Fixes: b58f0f86fd61 ("phy: fsl-imx8mq-usb: add tca function driver for imx95")
> Cc: stable@...r.kernel.org
> Suggested-by: Xu Yang <xu.yang_2@....com>
> Signed-off-by: Franz Schnyder <franz.schnyder@...adex.com>
Reviewed-by: Xu Yang <xu.yang_2@....com>
Powered by blists - more mailing lists