]> git.karo-electronics.de Git - karo-tx-linux.git/commit
wl12xx: Change claiming of the SDIO bus
authorIdo Yariv <ido@wizery.com>
Tue, 1 Mar 2011 13:14:40 +0000 (15:14 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 3 Mar 2011 14:10:46 +0000 (16:10 +0200)
commit393fb560d328cc06e6a5c7b7473901ad724f82e7
tree2359a7db27abdd288269db547050eafc210ac5db
parent606ea9fa0b2c01ffafb6beae92ea8e2b1473520b
wl12xx: Change claiming of the SDIO bus

The SDIO bus is claimed and released for each SDIO transaction. In
addition to the few CPU cycles it takes to claim and release the bus, it
may also cause undesired side effects such as the MMC host stopping its
internal clocks.

Since only the wl12xx_sdio driver drives this SDIO card, it is safe to
claim the SDIO host once (on power on), and release it only when turning
the power off.

This patch was inspired by Juuso Oikarinen's (juuso.oikarinen@nokia.com)
patch "wl12xx: Change claiming of the (SDIO) bus".

Signed-off-by: Ido Yariv <ido@wizery.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/sdio.c