commit | 68fbc9dfcbfe2b1f44cb4508943d5b7a0c92bda0 | [log] [tgz] |
---|---|---|
author | Pragnesh Patel <pragnesh.patel@sifive.com> | Mon Jun 29 15:17:27 2020 +0530 |
committer | Peng Fan <peng.fan@nxp.com> | Tue Jul 14 16:19:44 2020 +0800 |
tree | 22e88d34fa44262308f0cbbe1b4dad0f171582b5 | |
parent | a01f57e1bdce4f4e70eced713f4eae788162f1cc [diff] |
mmc: mmc_spi: Read R2 response for send status command - CMD13 Send status command (CMD13) will send R1 response under SD mode but R2 response under SPI mode. R2 response is 2 bytes long, so read 2 bytes for mmc SPI mode Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by: Bin Meng <bin.meng@windriver.com> Tested-by: Bin Meng <bin.meng@windriver.com>