mmc: do not send cmd13 if the parameter 'send_status' is 0 for __mmc_switch
authorHaibo Chen <haibo.chen@nxp.com>
Tue, 22 Sep 2020 10:11:42 +0000 (18:11 +0800)
committerPeng Fan <peng.fan@nxp.com>
Mon, 12 Oct 2020 07:48:13 +0000 (15:48 +0800)
commitef5ab0d13a7a44469f6c765c8acc8d54c23213de
tree4bf4366d5456f50862b10f74693cfef8050874ce
parentd3c610c6233e8848feea74da3c7a65ea070f1671
mmc: do not send cmd13 if the parameter 'send_status' is 0 for __mmc_switch

According to the code logic in __mmc_switch, if the parameter 'send_status'
is zero, no need to send cmd13, just wait the stated timeout time, then
can return directly.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
drivers/mmc/mmc.c