summaryrefslogtreecommitdiffstats
path: root/drivers/dio
diff options
context:
space:
mode:
authorSeungwon Jeon <tgih.jun@samsung.com>2012-08-01 09:30:46 +0900
committerChris Ball <cjb@laptop.org>2012-09-04 13:58:09 -0400
commite74f3a9c993a088f0a067e13941075e4acb7300a (patch)
tree451f7589d217d85607c5e6eb8567fa77a40ec329 /drivers/dio
parent9b2026a12511439d906a5d8d302ae285ebe7378a (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud