2
0

322-v6.2-mmc-mtk-sd-fix-two-spelling-mistakes-in-comment.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 4b323f02b6e8df1b04292635ef829e7f723bf50e Mon Sep 17 00:00:00 2001
  2. From: Yu Zhe <[email protected]>
  3. Date: Thu, 10 Nov 2022 15:28:19 +0800
  4. Subject: [PATCH 3/6] mmc: mtk-sd: fix two spelling mistakes in comment
  5. spelling mistake fix : "alreay" -> "already"
  6. "checksume" -> "checksum"
  7. Signed-off-by: Yu Zhe <[email protected]>
  8. Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
  9. Link: https://lore.kernel.org/r/[email protected]
  10. Signed-off-by: Ulf Hansson <[email protected]>
  11. ---
  12. drivers/mmc/host/mtk-sd.c | 4 ++--
  13. 1 file changed, 2 insertions(+), 2 deletions(-)
  14. --- a/drivers/mmc/host/mtk-sd.c
  15. +++ b/drivers/mmc/host/mtk-sd.c
  16. @@ -750,7 +750,7 @@ static inline void msdc_dma_setup(struct
  17. else
  18. bd[j].bd_info &= ~BDMA_DESC_EOL;
  19. - /* checksume need to clear first */
  20. + /* checksum need to clear first */
  21. bd[j].bd_info &= ~BDMA_DESC_CHECKSUM;
  22. bd[j].bd_info |= msdc_dma_calcs((u8 *)(&bd[j]), 16) << 8;
  23. }
  24. @@ -1229,7 +1229,7 @@ static bool msdc_cmd_done(struct msdc_ho
  25. !host->hs400_tuning))
  26. /*
  27. * should not clear fifo/interrupt as the tune data
  28. - * may have alreay come when cmd19/cmd21 gets response
  29. + * may have already come when cmd19/cmd21 gets response
  30. * CRC error.
  31. */
  32. msdc_reset_hw(host);