[PATCH v2] phy: fsl-imx8mq-usb: fix typec orientation switch when built as module

Xu Yang xu.yang_2 at nxp.com
Thu Nov 27 03:17:04 PST 2025


On Wed, Nov 26, 2025 at 03:01:33PM +0100, Franz Schnyder wrote:
> From: Franz Schnyder <franz.schnyder at toradex.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 at vger.kernel.org
> Suggested-by: Xu Yang <xu.yang_2 at nxp.com>
> Signed-off-by: Franz Schnyder <franz.schnyder at toradex.com>

Reviewed-by: Xu Yang <xu.yang_2 at nxp.com>




More information about the linux-arm-kernel mailing list