• S
    mmc: msm_sdcc: Add prog done interrupt support · d5137bdd
    Sahitya Tummala 提交于
    Enable prog done interrupt for stop command(CMD12) that is sent
    after a multi-block write(CMD25). The PROG_DONE bit is set when
    the card has finished its programming and is ready for next data.
    
    After every write request the card will be polled for ready status
    using CMD13. For a multi-block write(CMD25) before sending CMD13,
    stop command (CMD12) will be sent.  If we enable prog done interrupt
    for CMD12, then CMD13 polling can be avoided. The prog done interrupt
    means that the card is done with its programming and is ready for
    next request.
    Signed-off-by: NSahitya Tummala <stummala@codeaurora.org>
    Signed-off-by: NDavid Brown <davidb@codeaurora.org>
    d5137bdd
msm_sdcc.h 6.4 KB