mmc: dw_mmc: Set timeout to max upon resume
authorDoug Anderson <dianders@chromium.org>
Fri, 30 Aug 2013 15:11:49 +0000 (00:11 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 26 Sep 2013 01:32:11 +0000 (21:32 -0400)
commit2eb2944fa7d14703898063eaee34d41524fb46ad
tree85cf4010a9e76ea121be9d779804fc839291aa88
parentfdf492a1cc6db8c13f650948f43855a077600895
mmc: dw_mmc: Set timeout to max upon resume

The TMOUT register is set to 0xffffffff at probe time but isn't
set after suspend/resume.  Add an init of this value.

No problems were observed without this (it will also be set in
__dw_mci_start_request if there is data to send), but it makes the
register dump before and after suspend cleaner.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c