Skip to content

Commit 27ee086

Browse files
Xu Yangvinodkoul
authored andcommitted
phy: fsl-imx8mq-usb: disable bind/unbind platform driver feature
Disabling PHYs in runtime usually causes the client with external abort exception or similar issue due to lack of API to notify clients about PHY removal. This patch removes the possibility to unbind i.MX PHY drivers in runtime. Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260120111712.3159782-1-xu.yang_2@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent cbce666 commit 27ee086

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/phy/freescale/phy-fsl-imx8mq-usb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ static struct platform_driver imx8mq_usb_phy_driver = {
750750
.driver = {
751751
.name = "imx8mq-usb-phy",
752752
.of_match_table = imx8mq_usb_phy_of_match,
753+
.suppress_bind_attrs = true,
753754
}
754755
};
755756
module_platform_driver(imx8mq_usb_phy_driver);

0 commit comments

Comments
 (0)