]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
usb: chipidea: imx: fix some typo
authorXu Yang <xu.yang_2@nxp.com>
Tue, 25 Feb 2025 06:28:43 +0000 (14:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Mar 2025 09:23:56 +0000 (10:23 +0100)
bootlader -> bootloader
set_wakeup failed -> hsic_set_clk failed

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

index 1394881fde5f5b4915150b9ff001bf32620429e8..6243d8005f5dd0cdc5ca8689885ae7160ea18ea3 100644 (file)
@@ -440,7 +440,7 @@ static int usbmisc_imx6q_init(struct imx_usbmisc_data *data)
                else if (data->oc_pol_configured)
                        reg &= ~MX6_BM_OVER_CUR_POLARITY;
        }
-       /* If the polarity is not set keep it as setup by the bootlader */
+       /* If the polarity is not set keep it as setup by the bootloader */
        if (data->pwr_pol == 1)
                reg |= MX6_BM_PWR_POLARITY;
        writel(reg, usbmisc->base + data->index * 4);
@@ -645,7 +645,7 @@ static int usbmisc_imx7d_init(struct imx_usbmisc_data *data)
                else if (data->oc_pol_configured)
                        reg &= ~MX6_BM_OVER_CUR_POLARITY;
        }
-       /* If the polarity is not set keep it as setup by the bootlader */
+       /* If the polarity is not set keep it as setup by the bootloader */
        if (data->pwr_pol == 1)
                reg |= MX6_BM_PWR_POLARITY;
        writel(reg, usbmisc->base);
@@ -939,7 +939,7 @@ static int usbmisc_imx7ulp_init(struct imx_usbmisc_data *data)
                else if (data->oc_pol_configured)
                        reg &= ~MX6_BM_OVER_CUR_POLARITY;
        }
-       /* If the polarity is not set keep it as setup by the bootlader */
+       /* If the polarity is not set keep it as setup by the bootloader */
        if (data->pwr_pol == 1)
                reg |= MX6_BM_PWR_POLARITY;
 
@@ -1185,7 +1185,7 @@ int imx_usbmisc_suspend(struct imx_usbmisc_data *data, bool wakeup)
        if (usbmisc->ops->hsic_set_clk && data->hsic)
                ret = usbmisc->ops->hsic_set_clk(data, false);
        if (ret) {
-               dev_err(data->dev, "set_wakeup failed, ret=%d\n", ret);
+               dev_err(data->dev, "hsic_set_clk failed, ret=%d\n", ret);
                return ret;
        }
 
@@ -1224,7 +1224,7 @@ int imx_usbmisc_resume(struct imx_usbmisc_data *data, bool wakeup)
        if (usbmisc->ops->hsic_set_clk && data->hsic)
                ret = usbmisc->ops->hsic_set_clk(data, true);
        if (ret) {
-               dev_err(data->dev, "set_wakeup failed, ret=%d\n", ret);
+               dev_err(data->dev, "hsic_set_clk failed, ret=%d\n", ret);
                goto hsic_set_clk_fail;
        }