mmc: fsl_esdhc_spl: Fix checking for number of read sectors
Commit 0980cbba ("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: 0980cbba ("mmc: fsl_esdhc_spl: pre-PBL: implement redundancy support") Signed-off-by:Pali Rohár <pali@kernel.org> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com>
Loading
Please register or sign in to comment