Skip to content

Commit ee7e509

Browse files
Xu Yangopsiff
authored andcommitted
phy: fsl-imx8mq-usb: disable bind/unbind platform driver feature
[ Upstream commit 27ee0869d77b2cb404770ac49bdceae3aedf658b ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org> (cherry picked from commit dc3bc979814bb215905745111eb07f4239ae7f0d) Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent cc2b1ad commit ee7e509

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ static struct platform_driver imx8mq_usb_phy_driver = {
411411
.driver = {
412412
.name = "imx8mq-usb-phy",
413413
.of_match_table = imx8mq_usb_phy_of_match,
414+
.suppress_bind_attrs = true,
414415
}
415416
};
416417
module_platform_driver(imx8mq_usb_phy_driver);

0 commit comments

Comments
 (0)