Skip to content

Commit debf832

Browse files
Xu Yangvinodkoul
authored andcommitted
phy: fsl-imx8mq-usb: set platform driver data
Add missing platform_set_drvdata() as the data will be used in remove(). Fixes: b58f0f8 ("phy: fsl-imx8mq-usb: add tca function driver for imx95") Cc: stable@vger.kernel.org Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260120111646.3159766-1-xu.yang_2@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 27ee086 commit debf832

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,8 @@ static int imx8mq_usb_phy_probe(struct platform_device *pdev)
696696
if (!imx_phy)
697697
return -ENOMEM;
698698

699+
platform_set_drvdata(pdev, imx_phy);
700+
699701
imx_phy->clk = devm_clk_get(dev, "phy");
700702
if (IS_ERR(imx_phy->clk)) {
701703
dev_err(dev, "failed to get imx8mq usb phy clock\n");

0 commit comments

Comments
 (0)