Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: fsl-imx8mq-usb: set platform driver data

Add missing platform_set_drvdata() as the data will be used in remove().

Fixes: b58f0f86fd61 ("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>

authored by

Xu Yang and committed by
Vinod Koul
debf8326 27ee0869

+2
+2
drivers/phy/freescale/phy-fsl-imx8mq-usb.c
··· 696 696 if (!imx_phy) 697 697 return -ENOMEM; 698 698 699 + platform_set_drvdata(pdev, imx_phy); 700 + 699 701 imx_phy->clk = devm_clk_get(dev, "phy"); 700 702 if (IS_ERR(imx_phy->clk)) { 701 703 dev_err(dev, "failed to get imx8mq usb phy clock\n");