mmc: fix switch issue with send_status disabled
authorYe Li <ye.li@nxp.com>
Tue, 17 Aug 2021 09:20:33 +0000 (17:20 +0800)
committerPeng Fan <peng.fan@nxp.com>
Fri, 10 Sep 2021 10:17:41 +0000 (18:17 +0800)
commit3f4e52fc9d81e95ee90f6be7b05ca62fc8c7c1e3
tree8ac23c181bb4a675060fdc49f798f1d83f050f6b
parentb817959bd4cc90c1f6405547a2a6c242b3a4b731
mmc: fix switch issue with send_status disabled

When send_status is false or wait_dat0 is not supported, the switch
function should not send CMD13 but directly return.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc.c