mmc: dw_mmc: guarantee stop-abort cmd in data errors
authorSeungwon Jeon <tgih.jun@samsung.com>
Fri, 30 Aug 2013 15:14:05 +0000 (00:14 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 26 Sep 2013 01:35:40 +0000 (21:35 -0400)
In error cases, DTO interrupt may or may not be generated depending
on remained data. Stop/Abort command ensures DTO generation for that
situation. Currently if 'stop' field of data is empty, there is no
stop/abort command. So, it could hang waiting DTO. This change
reinforces these cases.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found