mmc: core: clear MMC_PM_KEEP_POWER flag on resume
authorEliad Peller <eliad@wizery.com>
Mon, 9 May 2011 08:32:31 +0000 (11:32 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 03:53:56 +0000 (23:53 -0400)
commita8e6df7343cf67c9104955da0de70075a6ee1dfd
tree5368d2c28837b304461e3fabf7f78ac76e671200
parent1d6c4e0a00399de9de3f066de175eb5fcc4b7b46
mmc: core: clear MMC_PM_KEEP_POWER flag on resume

Since the MMC_PM_KEEP_POWER flag should be set on each suspend,
it should also cleared on each resume.

Upon resuming, we have to know if power was kept
(for re-initialization, etc.), so clear it just after resuming.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c