mmc: msm_sdcc: Send CMD52 after every CMD53 write
On a completion of a CMD53 write, send a dummy CMD52
before reporting completion to client.
Signed-off-by: Oluwafemi Adeyemi <aadeyemi@codeaurora.org>
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
diff --git a/drivers/mmc/host/msm_sdcc.h b/drivers/mmc/host/msm_sdcc.h
index c6acea9..9ad0bfa 100644
--- a/drivers/mmc/host/msm_sdcc.h
+++ b/drivers/mmc/host/msm_sdcc.h
@@ -335,7 +335,8 @@
unsigned int mci_irqenable;
unsigned int dummy_52_needed;
- unsigned int dummy_52_state;
+ unsigned int dummy_52_sent;
+
unsigned int sdio_irq_disabled;
struct wake_lock sdio_wlock;
struct wake_lock sdio_suspend_wlock;