Skip to content

Commit

Permalink
mmc: mtk-sd: fix two spelling mistakes in comment
Browse files Browse the repository at this point in the history
spelling mistake fix : "alreay" -> "already"
		       "checksume" -> "checksum"

Signed-off-by: Yu Zhe <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
  • Loading branch information
yuzhenfschina authored and storulf committed Dec 7, 2022
1 parent 974b821 commit 4b323f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/host/mtk-sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4b323f0

Please sign in to comment.