usb: chipidea: ci_hdrc_imx: align usb wakeup clock name with dt-bindings
authorXu Yang <xu.yang_2@nxp.com>
Thu, 21 Mar 2024 08:14:39 +0000 (16:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2024 06:57:16 +0000 (07:57 +0100)
The dt-bindings is going to use "usb_wakeup" as wakup clock name. This will
align the change with dt-bindings.

Acked-by: Peter Chen <peter.chen@kernel.org>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20240321081439.541799-11-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci_hdrc_imx.c

index ae9a6a17ec6e365d35b89e805185a043997a08a5..a17b6d6193052c881614d543463e0c3c104ef861 100644 (file)
@@ -212,7 +212,7 @@ static int imx_get_clks(struct device *dev)
                /* Get wakeup clock. Not all of the platforms need to
                 * handle this clock. So make it optional.
                 */
-               data->clk_wakeup = devm_clk_get_optional(dev, "usb_wakeup_clk");
+               data->clk_wakeup = devm_clk_get_optional(dev, "usb_wakeup");
                if (IS_ERR(data->clk_wakeup))
                        ret = dev_err_probe(dev, PTR_ERR(data->clk_wakeup),
                                        "Failed to get wakeup clk\n");