2012-06-01 15:28:07

by Grant Erickson

[permalink] [raw]
Subject: [PATCH] wl12xx: Add support for an external 26 MHz crystal source


Signed-off-by: Grant Erickson <[email protected]>
---
drivers/net/wireless/ti/wl12xx/main.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c
index d7dd3de..8617403 100644
--- a/drivers/net/wireless/ti/wl12xx/main.c
+++ b/drivers/net/wireless/ti/wl12xx/main.c
@@ -863,6 +863,7 @@ static int wl127x_boot_clk(struct wl1271 *wl)
/* ref clk: 19.2/38.4/38.4-XTAL */
clk = 0x3;
else if (wl->ref_clock == CONF_REF_CLK_26_E ||
+ wl->ref_clock == CONF_REF_CLK_26_M_XTAL ||
wl->ref_clock == CONF_REF_CLK_52_E)
/* ref clk: 26/52 */
clk = 0x5;
--
1.7.10.2