* [PATCH] usb: chipidea: imx: fix some typo
@ 2025-02-25 6:28 Xu Yang
2025-02-27 3:26 ` Peter Chen
0 siblings, 1 reply; 2+ messages in thread
From: Xu Yang @ 2025-02-25 6:28 UTC (permalink / raw)
To: peter.chen, gregkh; +Cc: s.hauer, kernel, festevam, linux-usb, imx
bootlader -> bootloader
set_wakeup failed -> hsic_set_clk failed
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
---
drivers/usb/chipidea/usbmisc_imx.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c
index f933fc70be66..4dc0bac8cde3 100644
--- a/drivers/usb/chipidea/usbmisc_imx.c
+++ b/drivers/usb/chipidea/usbmisc_imx.c
@@ -457,7 +457,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);
@@ -662,7 +662,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);
@@ -956,7 +956,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;
@@ -1280,7 +1280,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;
}
@@ -1319,7 +1319,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;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] usb: chipidea: imx: fix some typo
2025-02-25 6:28 [PATCH] usb: chipidea: imx: fix some typo Xu Yang
@ 2025-02-27 3:26 ` Peter Chen
0 siblings, 0 replies; 2+ messages in thread
From: Peter Chen @ 2025-02-27 3:26 UTC (permalink / raw)
To: Xu Yang; +Cc: gregkh, s.hauer, kernel, festevam, linux-usb, imx
On 25-02-25 14:28:43, Xu Yang wrote:
> 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>
Peter
> ---
> drivers/usb/chipidea/usbmisc_imx.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c
> index f933fc70be66..4dc0bac8cde3 100644
> --- a/drivers/usb/chipidea/usbmisc_imx.c
> +++ b/drivers/usb/chipidea/usbmisc_imx.c
> @@ -457,7 +457,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);
> @@ -662,7 +662,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);
> @@ -956,7 +956,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;
>
> @@ -1280,7 +1280,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;
> }
>
> @@ -1319,7 +1319,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;
> }
>
> --
> 2.34.1
>
--
Best regards,
Peter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-27 3:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 6:28 [PATCH] usb: chipidea: imx: fix some typo Xu Yang
2025-02-27 3:26 ` Peter Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox