From: Ohad Ben-Cohen Date: Sun, 29 May 2011 13:36:03 +0000 (+0300) Subject: wl12xx: don't bail if mmc isn't MMC_CAP_POWER_OFF_CARD X-Git-Tag: v3.1-rc1~316^2~189^2^2~13^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86046da4afe068991b77e0a4c4b79b99ad961bda;p=pandora-kernel.git wl12xx: don't bail if mmc isn't MMC_CAP_POWER_OFF_CARD If our SDIO function has its runtime PM disabled, don't try to manipulate its runtime PM status at all. This way we can still power on cards plugged to mmc hosts that are not MMC_CAP_POWER_OFF_CARD. Reported-and-tested-by: Tim Yamin Signed-off-by: Ohad Ben-Cohen Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed