mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 22:22:08 +02:00
usb: chipidea: imx: fix some typo
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>
This commit is contained in:
parent
93868d5f39
commit
c8c35b6cdb
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user