mmc: omap_hsmmc: Fix the DT pbias workaround for MMC controllers 2 to 5
authorTony Lindgren <tony@atomide.com>
Fri, 10 May 2013 12:12:33 +0000 (17:42 +0530)
committerChris Ball <cjb@laptop.org>
Sun, 26 May 2013 18:23:09 +0000 (14:23 -0400)
commitcf5ae40b3968ca769e683b9b071685ad82ee893c
tree9b7794eac9994711eda6ad44cac5e3cf328fc085
parent728ef3d1939e23e26067608d8d8da9571be14b1d
mmc: omap_hsmmc: Fix the DT pbias workaround for MMC controllers 2 to 5

Otherwise SDIO cards won't necessarily work when booted with
device tree as we will never power down the SDIO cards. This
means the SDIO card reset does not happen which at least some
WLAN controllers expect to happen with ifconfig wlan0 down.

The PBIAS voltage is only available for the first controller
instance, so let's limit the PBIAS workaround to the first
controller only.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Tested-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c