commit | 1ee59ef986a7356d34a2d633a7182a08a5554524 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Wed May 11 20:28:28 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon May 23 09:33:10 2022 -0400 |
tree | 6f2400eadf598b14dd870d932474f889a8eb5503 | |
parent | bd3fd0c860a65ba216ee4603e7c8e635a42937f9 [diff] |
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 <pali@kernel.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>