Commit 0a4c2b09 authored by Peng Fan's avatar Peng Fan Committed by Jaehoon Chung
Browse files

mmc: fix return value check condition

sd_read_ssr returns 0, means no error.
Fixes: 5b2e72f3

("mmc: read ssr only if MMC write support is enabled")

Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Jean-Jacques Hiblot <jjhiblot@ti.com>
parent 4f0a8bf6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment