mmc: sdhci: Add stop transmission support

Large packed write request may take pretty long time to complete
causing the next read operation (if any) to wait for current write
to complete.

Instead we should interrupt the current write operation and execute
waiting read operation and once the read is completed, go back to
interrupted write operation and resume it.

To support this functionality, we have added support for following new
host operation in our driver:
    int (*stop_request)(struct mmc_host *host)
            => Call this op to stop the current transfer synchronously.

Note: stop_request implemented as empty function returning error. It is
needed to enable urgent request flow partly. The flow will not stop
undergoing request.

Change-Id: I00b7da3c7862bea62bac5605da3278137bd49070
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
1 file changed