From: Seungwon Jeon Date: Wed, 1 Aug 2012 00:30:46 +0000 (+0900) Subject: mmc: dw_mmc: fix error handling in PIO mode X-Git-Tag: v3.6-rc5~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e74f3a9c993a088f0a067e13941075e4acb7300a;p=pandora-kernel.git 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 Acked-by: Jaehoon Chung Acked-by: Will Newton Signed-off-by: Chris Ball --- Reading git-diff-tree failed