Commit 8046ae1d authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

mmc: msm_sdcc: read all response registers only if required



In current code, all 4 response registers MCI_RESPn (n=[0..3])
are read for every command. Ideally, only MCI_RESP0 must be read
for short type (32-bit) and all 4 registers for long type (136-bit)
response. This patch fixes this by reading response registers based
on response type.

Change-Id: I7af326be16a42b8b4de7d3413f67e23fe8c68875
Reported-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent 57c14a09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment