diff options
author | Yair Shapira <yair.shapira@ti.com> | 2012-07-11 18:48:05 +0300 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-07-18 15:08:22 +0300 |
commit | 16bc10c3180bb71da42fedc63587a39aed79b469 (patch) | |
tree | 6ff1433beca4cbb6c4a8cb0a6d9e558d4b8cfd56 /drivers/net/wireless/ti | |
parent | 7019c80eead86d246a7b6697011bc37b2bdd8539 (diff) | |
download | linux-16bc10c3180bb71da42fedc63587a39aed79b469.tar.bz2 |
wl18xx: disable calibrator based fem detect
bip calibration is not required in wl18xx. Therefore we
disable also auto fem (using calibrator fem detect) mode.
Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c index fb284dedf725..2b9398c02a25 100644 --- a/drivers/net/wireless/ti/wl18xx/main.c +++ b/drivers/net/wireless/ti/wl18xx/main.c @@ -1148,6 +1148,12 @@ static int wl18xx_plt_init(struct wl1271 *wl) { int ret; + /* calibrator based auto/fem detect not supported for 18xx */ + if (wl->plt_mode == PLT_FEM_DETECT) { + wl1271_error("wl18xx_plt_init: PLT FEM_DETECT not supported"); + return -EINVAL; + } + ret = wlcore_write32(wl, WL18XX_SCR_PAD8, WL18XX_SCR_PAD8_PLT); if (ret < 0) return ret; |