]> Git Repo - u-boot.git/commit
mmc: fsl_esdhc_spl: Fix checking for number of read sectors
authorPali Rohár <[email protected]>
Wed, 11 May 2022 18:28:28 +0000 (20:28 +0200)
committerTom Rini <[email protected]>
Mon, 23 May 2022 13:33:10 +0000 (09:33 -0400)
commitc1abf7659c9b29874d9d718df6890de1638cedba
tree6f2400eadf598b14dd870d932474f889a8eb5503
parent2d25f63cc02e42f3e4a798bd5385e9cd73e51fd4
mmc: fsl_esdhc_spl: Fix checking for number of read sectors

Commit 0980cbba7b3c ("mmc: fsl_esdhc_spl: pre-PBL: implement redundancy
support") changed number of sectors which are read but did not adjusted
error check.

Fix it and check for if correct number of sectors were read.

Fixes: 0980cbba7b3c ("mmc: fsl_esdhc_spl: pre-PBL: implement redundancy support")
Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
drivers/mmc/fsl_esdhc_spl.c
This page took 0.029853 seconds and 4 git commands to generate.