Skip to contentSkip to conversation

wl12xx: Add support for an external 26 MHz crystal source

PATCH In review Grant Erickson 2 participants 2 messages Jun 1, 2012 – Jun 7, 2012 TI wilink wireless drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 wl12xx: Add support for an external 26 MHz crystal source

Add support for an external 26 MHz crystal source.

---
v1 Initial submission.
v2 Add a body description to the commit.

 drivers/net/wireless/ti/wl12xx/main.c |    1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/ti/wl12xx/main.c +1 -0
index d7dd3de..8617403 100644
@@ -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;
Signature · 1 line
1.7.10.2
#1 lore raw
Quoted 6 lines · Grant Erickson

Add support for an external 26 MHz crystal source.

---
v1 Initial submission.
v2 Add a body description to the commit.

Applied and pushed, thanks Grant!

I have only changed the wl->ref_clock to priv->ref_clock that is used now.

--
Luca.