diff mbox series

usb: chipidea: imx: fix some typo

Message ID 20250225062843.3930041-1-xu.yang_2@nxp.com (mailing list archive)
State New
Headers show
Series usb: chipidea: imx: fix some typo | expand

Commit Message

Xu Yang Feb. 25, 2025, 6:28 a.m. UTC
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(-)

Comments

Peter Chen Feb. 27, 2025, 3:26 a.m. UTC | #1
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
>
diff mbox series

Patch

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;
 	}