mmc: esdhc: Implement power management for ESDHC
authorJerry Huang <Chang-Ming.Huang@freescale.com>
Sat, 4 Feb 2012 22:13:13 +0000 (17:13 -0500)
committerChris Ball <cjb@laptop.org>
Sun, 25 Mar 2012 23:33:44 +0000 (19:33 -0400)
commit192b5372421766f62fce20d2db2deb19a58e2cfc
tree16cf121e4b223b670c0f31f1a2f71112e126ac8e
parenta1b13b4e18d62ea60aad9554f35d79c51328b8b6
mmc: esdhc: Implement power management for ESDHC

For FSL ESDHC controllers, when entering sleep the controller will power off,
therefore the registers will lose their values, and the driver should save
the value of registers during suspend and write them back during resume.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Jiang Yutang <b14898@freescale.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-of-esdhc.c