mmc: msm_sdcc: send AUTO CMD19 with CMD23
If UHS-I SD card is running in SDR50/SDR104 with SDCC4 DLL (delay line)
tuning block enabled then AUTO CMD19 should be sent before any
block read operation.
But there can be 2 type of multi block read operations:
1. Open ended : This will directly send block read command (CMD18).
2. Close ended: This will first send CMD23 (Block Count) and then
send block read command (CMD18).
So in case of close ended read operation, SDCC4 controller requires
the AUTO CMD19 to be sent before sending the CMD23 otherwise
Data CRC errors would be seen for subsequent read operation.
This change makes sure that driver send the AUTO CMD19 before CMD23
for multi block read operation.
CRs-fixed: 307697
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
1 file changed