summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorXu Yang <xu.yang_2@nxp.com>2026-01-20 19:16:46 +0800
committerVinod Koul <vkoul@kernel.org>2026-01-21 12:45:58 +0530
commitdebf8326a435ac746f48173e4742a574810f1ff4 (patch)
tree74291b4196ffe6208f79d6cb5c5fa7ebe0e248d1 /drivers/phy
parent27ee0869d77b2cb404770ac49bdceae3aedf658b (diff)
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>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/freescale/phy-fsl-imx8mq-usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/phy/freescale/phy-fsl-imx8mq-usb.c b/drivers/phy/freescale/phy-fsl-imx8mq-usb.c
index 7b7b486a2078..6c5f8271c52d 100644
--- a/drivers/phy/freescale/phy-fsl-imx8mq-usb.c
+++ b/drivers/phy/freescale/phy-fsl-imx8mq-usb.c
@@ -696,6 +696,8 @@ static int imx8mq_usb_phy_probe(struct platform_device *pdev)
if (!imx_phy)
return -ENOMEM;
+ platform_set_drvdata(pdev, imx_phy);
+
imx_phy->clk = devm_clk_get(dev, "phy");
if (IS_ERR(imx_phy->clk)) {
dev_err(dev, "failed to get imx8mq usb phy clock\n");