wl18xx: read clock frequency and do top init accordingly
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:13:41 +0000 (12:13 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:56:03 +0000 (15:56 +0300)
commitbe65202a610ca96aa945789c8b0a7bc3529b556e
treeabd1aa815fe163c04d2dbc79df8f7392956fcf53
parentd9fedea2a31476e7d11b3cc80c843de6cf135bd9
wl18xx: read clock frequency and do top init accordingly

Instead of using hardcoded values for a single frequency, we need to
read the frequency and use the appropriate values for it in the top
initialization.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wl18xx/Makefile
drivers/net/wireless/ti/wl18xx/io.c [new file with mode: 0644]
drivers/net/wireless/ti/wl18xx/io.h [new file with mode: 0644]
drivers/net/wireless/ti/wl18xx/main.c
drivers/net/wireless/ti/wl18xx/reg.h
drivers/net/wireless/ti/wl18xx/wl18xx.h