aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/.gitignore
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2010-12-08 04:33:05 -0500
committerDavid Brown <davidb@codeaurora.org>2010-12-20 15:28:31 -0500
commitb08bb35d1a5ee5426198eb3a2861008c2e9e6fc4 (patch)
treeb721ec64e16b9197322b15833f301604fe52aa85 /drivers/char/.gitignore
parentd5137bdd91b8267ada3973806443013f4bf079f6 (diff)
mmc: msm_sdcc: Reset SDCC in case of data transfer errors
SDCC uses an asynchronous FIFOs for data synchronization (one for TX and one for RX). For any error when DPSM (Data path state machine) is involved the transfer is terminated with the remaining data stuck inside FIFOs. Reset the controller in case of data errors to ensure that any left over data in FIFOs is flushed out and DPSM is in good state. The following problems are observed without this reset functionality - 1. After the card is removed in an unsafe way (removed when there is an on going data transfer), the card will not be detected upon its next insertion. This is because the controller wouldn't respond to few initialization commands. 2. When an error occurs for a data transfer in non-DMA mode, sometimes we get spurious PIO interrupt after the request is processed. Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'drivers/char/.gitignore')
0 files changed, 0 insertions, 0 deletions