]> git.sur5r.net Git - u-boot/commit
mmc: fix return value check condition
authorPeng Fan <peng.fan@nxp.com>
Mon, 5 Mar 2018 08:20:40 +0000 (16:20 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 2 May 2018 01:57:43 +0000 (10:57 +0900)
commit0a4c2b099ed44a18c7768001cb974e80bff0f46b
tree12ba6cb9c76cda3a42072b4582e29ba0a8277be8
parent4f0a8bf669f24771d1e4ca89a1f2b1ca39e50e47
mmc: fix return value check condition

sd_read_ssr returns 0, means no error.
Fixes: 5b2e72f32721484("mmc: read ssr only if MMC write support is enabled")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/mmc/mmc.c