mmc: Handle suspend/resume in Ricoh MMC disabler
authorPhilip Langdale <philipl@overt.org>
Sat, 29 Dec 2007 08:11:42 +0000 (00:11 -0800)
committerPierre Ossman <drzeus@drzeus.cx>
Fri, 8 Feb 2008 08:02:46 +0000 (09:02 +0100)
commit1f090bf5245115e404103d35e7f5597bfe653aac
treeecf54a191a527a8fe3d45bc19aba3556e730b00d
parent488b5ec871191359b9b79262a3d48456dae7ea5f
mmc: Handle suspend/resume in Ricoh MMC disabler

As pci config space is reinitialised on a suspend/resume cycle, the
disabler needs to work its magic at resume time. For symmetry this
change also explicitly enables the controller at suspend time but
it's not strictly necessary.

Signed-off-by: Philipl Langdale <philipl@overt.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/ricoh_mmc.c