Commit 4b323f02 authored by Yu Zhe's avatar Yu Zhe Committed by Ulf Hansson

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

spelling mistake fix : "alreay" -> "already"
		       "checksume" -> "checksum"
Signed-off-by: default avatarYu Zhe <yuzhe@nfschina.com>
Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20221110072819.11530-1-yuzhe@nfschina.comSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 974b8219
......@@ -750,7 +750,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;
}
......@@ -1229,7 +1229,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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment