Commit 7a651aa9 authored by Subhash Jadavani's avatar Subhash Jadavani Committed by Bryan Huntsman
Browse files

msm: msm_sdcc: use AUTO_PROG_DONE bit for CMD53 write



SDCCv4 supports AUTO_PROG_DONE bit for CMD53 write.
Without this bit, driver had to send the dummy CMD52
to know whether card is busy programming or not.

As AUTO_PROG_DONE bit is available, driver no longer
sends dummy CMD52 rather it sets this AUTO_PROG_DONE
bit in MCI_DATA_CTL register and then waits for
PROG_DONE interrupt status bit to be set.

Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent 8de2f384
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment