mmc: core: Fix setting power notify state variable for non-eMMC
authorGirish K S <girish.shivananjappa@linaro.org>
Fri, 4 Nov 2011 10:52:47 +0000 (15:52 +0530)
committerChris Ball <cjb@laptop.org>
Sat, 10 Dec 2011 21:18:36 +0000 (16:18 -0500)
commit96a85d548bf960ec8e8a0c3bca2b2e88e41549db
treea38d3c9f039d8b68d8566936cc3296190249378e
parent6de5fc9cf7de334912de4cfd2d06eb2d744d2afe
mmc: core: Fix setting power notify state variable for non-eMMC

This patch skips the setting of the power notify state variable
for non eMMC 4.5 devices. Also fixes the problem of omap_hsmmc
noisy/broken for suspend resume reported by Kevin Hilman.

Signed-off-by: Girish K S <girish.shivananjappa@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@stericsson.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c