]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: dw_mmc: correct mishandling error interrupt
authorSeungwon Jeon <tgih.jun@samsung.com>
Wed, 1 Aug 2012 00:30:40 +0000 (09:30 +0900)
committerChris Ball <cjb@laptop.org>
Wed, 8 Aug 2012 03:18:40 +0000 (23:18 -0400)
commitb6b98380ee0a1b05decfd63593e41e9a1a151077
treec2349ba77c155b4f20f6c8364b8f846436529214
parentbd9bba2ff4af1b57d93469fdd462447740811ede
mmc: dw_mmc: correct mishandling error interrupt

Datasheet of SYNOPSYS mentions that DTO(Data Transfer Over) interrupt
will be raised even if some error interrupts, however it is actually
found that DTO does not occur. SYNOPSYS has confirmed this issue.
Current implementation defers the call of tasklet_schedule until DTO
when the error interrupts is happened. This patch fixes error handling.

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>
drivers/mmc/host/dw_mmc.c