2016-11-16 18:55:14

by Colin King

[permalink] [raw]
Subject: [PATCH] mmc: dw_mmc: fix spelling mistake in dev_dbg message

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake "desciptor" to "descriptor" in
dev_dbg message.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/mmc/host/dw_mmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index a16c537..9341b18 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -612,7 +612,7 @@ static inline int dw_mci_prepare_desc64(struct dw_mci *host,
return 0;
err_own_bit:
/* restore the descriptor chain as it's polluted */
- dev_dbg(host->dev, "desciptor is still owned by IDMAC.\n");
+ dev_dbg(host->dev, "descriptor is still owned by IDMAC.\n");
memset(host->sg_cpu, 0, DESC_RING_BUF_SZ);
dw_mci_idmac_init(host);
return -EINVAL;
@@ -688,7 +688,7 @@ static inline int dw_mci_prepare_desc32(struct dw_mci *host,
return 0;
err_own_bit:
/* restore the descriptor chain as it's polluted */
- dev_dbg(host->dev, "desciptor is still owned by IDMAC.\n");
+ dev_dbg(host->dev, "descriptor is still owned by IDMAC.\n");
memset(host->sg_cpu, 0, DESC_RING_BUF_SZ);
dw_mci_idmac_init(host);
return -EINVAL;
--
2.10.2


2016-11-17 01:24:48

by Jaehoon Chung

[permalink] [raw]
Subject: Re: [PATCH] mmc: dw_mmc: fix spelling mistake in dev_dbg message

Hi Colin,

On 11/17/2016 03:55 AM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake "desciptor" to "descriptor" in
> dev_dbg message.

Applied on my dwmmc repository. Thanks!

Best Regards,
Jaehoon Chung

>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/mmc/host/dw_mmc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
> index a16c537..9341b18 100644
> --- a/drivers/mmc/host/dw_mmc.c
> +++ b/drivers/mmc/host/dw_mmc.c
> @@ -612,7 +612,7 @@ static inline int dw_mci_prepare_desc64(struct dw_mci *host,
> return 0;
> err_own_bit:
> /* restore the descriptor chain as it's polluted */
> - dev_dbg(host->dev, "desciptor is still owned by IDMAC.\n");
> + dev_dbg(host->dev, "descriptor is still owned by IDMAC.\n");
> memset(host->sg_cpu, 0, DESC_RING_BUF_SZ);
> dw_mci_idmac_init(host);
> return -EINVAL;
> @@ -688,7 +688,7 @@ static inline int dw_mci_prepare_desc32(struct dw_mci *host,
> return 0;
> err_own_bit:
> /* restore the descriptor chain as it's polluted */
> - dev_dbg(host->dev, "desciptor is still owned by IDMAC.\n");
> + dev_dbg(host->dev, "descriptor is still owned by IDMAC.\n");
> memset(host->sg_cpu, 0, DESC_RING_BUF_SZ);
> dw_mci_idmac_init(host);
> return -EINVAL;
>