2018-09-18 06:54:34

by Colin King

[permalink] [raw]
Subject: [PATCH] usb: phy: mxs: fix spelling mistake "stardard" -> "standard"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in dev_dbg message

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/usb/phy/phy-mxs-usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c
index e5aa24c1e4fd..1b1bb0ad40c3 100644
--- a/drivers/usb/phy/phy-mxs-usb.c
+++ b/drivers/usb/phy/phy-mxs-usb.c
@@ -563,7 +563,7 @@ static enum usb_charger_type mxs_charger_primary_detection(struct mxs_phy *x)
regmap_read(regmap, ANADIG_USB1_CHRG_DET_STAT, &val);
if (!(val & ANADIG_USB1_CHRG_DET_STAT_CHRG_DETECTED)) {
chgr_type = SDP_TYPE;
- dev_dbg(x->phy.dev, "It is a stardard downstream port\n");
+ dev_dbg(x->phy.dev, "It is a standard downstream port\n");
}

/* Disable charger detector */
--
2.17.1



2018-09-20 04:16:41

by Peter Chen

[permalink] [raw]
Subject: Re: [PATCH] usb: phy: mxs: fix spelling mistake "stardard" -> "standard"

On Tue, Sep 18, 2018 at 2:55 PM Colin King <[email protected]> wrote:
>
> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake in dev_dbg message
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/usb/phy/phy-mxs-usb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c
> index e5aa24c1e4fd..1b1bb0ad40c3 100644
> --- a/drivers/usb/phy/phy-mxs-usb.c
> +++ b/drivers/usb/phy/phy-mxs-usb.c
> @@ -563,7 +563,7 @@ static enum usb_charger_type mxs_charger_primary_detection(struct mxs_phy *x)
> regmap_read(regmap, ANADIG_USB1_CHRG_DET_STAT, &val);
> if (!(val & ANADIG_USB1_CHRG_DET_STAT_CHRG_DETECTED)) {
> chgr_type = SDP_TYPE;
> - dev_dbg(x->phy.dev, "It is a stardard downstream port\n");
> + dev_dbg(x->phy.dev, "It is a standard downstream port\n");
> }
>
> /* Disable charger detector */
> --
> 2.17.1
>

Acked-by: Peter Chen <[email protected]>