Commit e16de2c4 authored by Grant Erickson's avatar Grant Erickson Committed by Luciano Coelho

wl12xx: Add support for an external 26 MHz crystal source

Add support for an external 26 MHz crystal source.

[Changed wl->ref_clock to priv->ref_clock -- Luca.]
Signed-off-by: default avatarGrant Erickson <marathon96@gmail.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 9fccc82e
......@@ -875,6 +875,7 @@ static int wl127x_boot_clk(struct wl1271 *wl)
/* ref clk: 19.2/38.4/38.4-XTAL */
clk = 0x3;
else if (priv->ref_clock == CONF_REF_CLK_26_E ||
priv->ref_clock == CONF_REF_CLK_26_M_XTAL ||
priv->ref_clock == CONF_REF_CLK_52_E)
/* ref clk: 26/52 */
clk = 0x5;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment