Seungwon Jeon eed6c63cef mmc: dw_mmc: fix the transmission handling in IDMAC
DTO interrupt can be later than transmit interrupt(IDMAC) in case of
write. Current handling of IDMAC interrupt sets EVENT_DATA_COMPLETE as
well as EVENT_XFER_COMPLETE regardless of DTO rising. This makes the
current request finish in tasklet and permits the next request even
though current data transfer is still in progress. As a result, sequence
is broken and lock-up happens. Setting EVENT_DATA_COMPLETE is not proper
after IDMAC interrupt. It should be taken after DTO interrupt is
generated.

Reported-by: Dmitry Shmidt <dimitrysh@android.com>
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Hyeonsu Kim <hyeonsu.kim@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-06-06 09:35:47 -04:00
..
2012-02-03 13:33:05 +01:00
2011-12-07 22:02:05 +00:00
2012-04-22 11:17:25 -04:00
2012-05-25 08:23:32 -07:00
2009-03-24 21:30:03 +01:00
2012-05-26 12:22:27 -07:00
2012-02-05 17:14:47 +01:00
2009-10-01 16:11:15 -07:00
2012-05-15 13:29:42 +02:00
2012-05-25 08:23:32 -07:00
2007-07-26 01:53:31 +02:00