]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccc931a329caee5193eeaf3103c3cc1cde8d162c
tree719fb73b4dd807f0aa673207ed62cbd170d2628d
parentb1d8ba938a9a06769fef8d7571d3f736b09e9423
mmc: dw_mmc: guarantee stop-abort cmd in data errors

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