]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: don't bail if mmc isn't MMC_CAP_POWER_OFF_CARD
authorOhad Ben-Cohen <ohad@wizery.com>
Sun, 29 May 2011 13:36:03 +0000 (16:36 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 09:01:31 +0000 (12:01 +0300)
commitcc707d6d96fabc5481a7335b60056255fc4b1872
tree1b7d3030dd4f289786d5e29d15fa4de8aa092b35
parent32ee48cd273e4de7db2202bf66424a017e521dd4
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 <tim@kangatronix.co.uk>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/sdio.c