mmc: dw_mmc: change to use recommended reset procedure
authorSonny Rao <sonnyrao@chromium.org>
Tue, 5 Aug 2014 01:19:50 +0000 (18:19 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Aug 2014 07:52:55 +0000 (09:52 +0200)
commit3a33a94ce27068c8fef63a4f9ab7cff1210e2a4e
tree08c5707e295a6948eacc88a971eb1cccac38a8d8
parent3df5b28149df5c04f0fbb4efe15ef870ce93de93
mmc: dw_mmc: change to use recommended reset procedure

This patch changes the fifo reset code to follow the reset procedure
outlined in the documentation of Synopsys Mobile storage host databook.

Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
[sonnyrao: fix compile for !CONFIG_MMC_DW_IDMAC case]
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h