]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52c7d02bf15e61df1304cc536bde4a7ba301e1a6
tree9b7794eac9994711eda6ad44cac5e3cf328fc085
parent5820b1eecbccae8f078cd2fa6fd03981cafed2ea
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