diff options
author | Seungwon Jeon <tgih.jun@samsung.com> | 2012-08-01 09:30:46 +0900 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-09-04 13:58:09 -0400 |
commit | e74f3a9c993a088f0a067e13941075e4acb7300a (patch) | |
tree | 451f7589d217d85607c5e6eb8567fa77a40ec329 /drivers/dio | |
parent | 9b2026a12511439d906a5d8d302ae285ebe7378a (diff) | |
download | blackbird-op-linux-e74f3a9c993a088f0a067e13941075e4acb7300a.tar.gz blackbird-op-linux-e74f3a9c993a088f0a067e13941075e4acb7300a.zip |
mmc: dw_mmc: fix error handling in PIO mode
Data transfer will be continued until all the bytes are transmitted,
even if data crc error occurs during a multiple-block data transfer.
This means RXDR/TXDR interrupts will occurs until data transfer is
terminated. Early setting of host->sg to NULL prevents going into
xxx_data_pio functions, hence permanent unhandled RXDR/TXDR interrupts
occurs. And checking error interrupt status in the xxx_data_pio functions
is no need because dw_mci_interrupt does do the same. This patch also
removes it.
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions