omap_hsmmc: Initialize hsmmc controller registers when resuming
authorKim Kyuwon <chammoru@gmail.com>
Fri, 20 Feb 2009 12:10:08 +0000 (13:10 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 24 Mar 2009 20:29:59 +0000 (21:29 +0100)
commit1b331e69a2313f6e857890c7c2c40e3e2a74367a
treeb45fb12a701c4a4710ea72aeff3c5ff6b4c0790d
parent9e57d60829f5c00ebf44df65a4b709359e285c20
omap_hsmmc: Initialize hsmmc controller registers when resuming

Most registers lose its state when the processor wakes up from sleep state.
Thus registers should be initialized, when the processor wakes up. However the
current hsmmc 'resume' function doesn't consider this issue and finally makes
deadlock. So this patch fixes this problem.

Signed-off-by: Kim Kyuwon <chammoru@gmail.com>
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/omap_hsmmc.c