mmc: mtk-sd: fix two spelling mistakes in comment

Message ID 20221110072819.11530-1-yuzhe@nfschina.com
State New
Headers
Series mmc: mtk-sd: fix two spelling mistakes in comment |

Commit Message

Yu Zhe Nov. 10, 2022, 7:28 a.m. UTC
  spelling mistake fix : "alreay" -> "already"
		       "checksume" -> "checksum"

Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
---
 drivers/mmc/host/mtk-sd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

AngeloGioacchino Del Regno Nov. 10, 2022, 9:02 a.m. UTC | #1
Il 10/11/22 08:28, Yu Zhe ha scritto:
> spelling mistake fix : "alreay" -> "already"
> 		       "checksume" -> "checksum"
> 
> Signed-off-by: Yu Zhe <yuzhe@nfschina.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
  
Ulf Hansson Nov. 16, 2022, 4:17 p.m. UTC | #2
On Thu, 10 Nov 2022 at 08:29, Yu Zhe <yuzhe@nfschina.com> wrote:
>
> spelling mistake fix : "alreay" -> "already"
>                        "checksume" -> "checksum"
>
> Signed-off-by: Yu Zhe <yuzhe@nfschina.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/host/mtk-sd.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
> index df941438aef5..a10aca76dfb3 100644
> --- a/drivers/mmc/host/mtk-sd.c
> +++ b/drivers/mmc/host/mtk-sd.c
> @@ -735,7 +735,7 @@ static inline void msdc_dma_setup(struct msdc_host *host, struct msdc_dma *dma,
>                 else
>                         bd[j].bd_info &= ~BDMA_DESC_EOL;
>
> -               /* checksume need to clear first */
> +               /* checksum need to clear first */
>                 bd[j].bd_info &= ~BDMA_DESC_CHECKSUM;
>                 bd[j].bd_info |= msdc_dma_calcs((u8 *)(&bd[j]), 16) << 8;
>         }
> @@ -1212,7 +1212,7 @@ static bool msdc_cmd_done(struct msdc_host *host, int events,
>                      !host->hs400_tuning))
>                         /*
>                          * should not clear fifo/interrupt as the tune data
> -                        * may have alreay come when cmd19/cmd21 gets response
> +                        * may have already come when cmd19/cmd21 gets response
>                          * CRC error.
>                          */
>                         msdc_reset_hw(host);
> --
> 2.11.0
>
  

Patch

diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
index df941438aef5..a10aca76dfb3 100644
--- a/drivers/mmc/host/mtk-sd.c
+++ b/drivers/mmc/host/mtk-sd.c
@@ -735,7 +735,7 @@  static inline void msdc_dma_setup(struct msdc_host *host, struct msdc_dma *dma,
 		else
 			bd[j].bd_info &= ~BDMA_DESC_EOL;
 
-		/* checksume need to clear first */
+		/* checksum need to clear first */
 		bd[j].bd_info &= ~BDMA_DESC_CHECKSUM;
 		bd[j].bd_info |= msdc_dma_calcs((u8 *)(&bd[j]), 16) << 8;
 	}
@@ -1212,7 +1212,7 @@  static bool msdc_cmd_done(struct msdc_host *host, int events,
 		     !host->hs400_tuning))
 			/*
 			 * should not clear fifo/interrupt as the tune data
-			 * may have alreay come when cmd19/cmd21 gets response
+			 * may have already come when cmd19/cmd21 gets response
 			 * CRC error.
 			 */
 			msdc_reset_hw(host);