mediatek: copy patches-6.1 to patches-6.6
[openwrt/staging/981213.git] / target / linux / mediatek / patches-6.6 / 322-v6.2-mmc-mtk-sd-fix-two-spelling-mistakes-in-comment.patch
1 From 4b323f02b6e8df1b04292635ef829e7f723bf50e Mon Sep 17 00:00:00 2001
2 From: Yu Zhe <yuzhe@nfschina.com>
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
6 spelling mistake fix : "alreay" -> "already"
7 "checksume" -> "checksum"
8
9 Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
10 Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
11 Link: https://lore.kernel.org/r/20221110072819.11530-1-yuzhe@nfschina.com
12 Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
13 ---
14 drivers/mmc/host/mtk-sd.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17 --- a/drivers/mmc/host/mtk-sd.c
18 +++ b/drivers/mmc/host/mtk-sd.c
19 @@ -750,7 +750,7 @@ static inline void msdc_dma_setup(struct
20 else
21 bd[j].bd_info &= ~BDMA_DESC_EOL;
22
23 - /* checksume need to clear first */
24 + /* checksum need to clear first */
25 bd[j].bd_info &= ~BDMA_DESC_CHECKSUM;
26 bd[j].bd_info |= msdc_dma_calcs((u8 *)(&bd[j]), 16) << 8;
27 }
28 @@ -1229,7 +1229,7 @@ static bool msdc_cmd_done(struct msdc_ho
29 !host->hs400_tuning))
30 /*
31 * should not clear fifo/interrupt as the tune data
32 - * may have alreay come when cmd19/cmd21 gets response
33 + * may have already come when cmd19/cmd21 gets response
34 * CRC error.
35 */
36 msdc_reset_hw(host);