mmc: sdhci: set to INT_DATA_END when there are data
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 12 Jul 2016 12:18:46 +0000 (21:18 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 5 Aug 2016 02:21:24 +0000 (11:21 +0900)
commit17ea3c862865c0d704646f67dbf8412f9ff54f59
tree1fc4fb6f43a44b254e992c1459daf13a0320aede
parentbae4a1fdf59cddf02acd0070d1da7303fe5ffd0e
mmc: sdhci: set to INT_DATA_END when there are data

There is no data, it doesn't needs to wait for completing data transfer.
(It seems that it can be removed.)
Almost all timeout error is occured from stop command without data.
After applied this patch, I hope that we don't need to increase timeout value anymore.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/mmc/sdhci.c