]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore_sdio/wl18xx: use SDIO revision number to identify wl18xx chips
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:13:07 +0000 (12:13 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:54:09 +0000 (15:54 +0300)
commit2574e41c5d37c3c1a2b235ad586986c0d3294ffa
tree2758f23af401f4935edc7bc4d634f27a9af70f69
parent10b12143f4e7c1cf57ed3685f756ecb76c9ab42c
wlcore_sdio/wl18xx: use SDIO revision number to identify wl18xx chips

At least in PG1, the wl18xx chips use the same SDIO vendor/device ID,
so it's not possible to figure out which driver is to be used.  As a
workaround, we can check the SDIO revision number, because wl18xx uses
3.00 and wl12xx does not.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wlcore/sdio.c