提交 e16de2c4 编写于 作者: G Grant Erickson 提交者: 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: NGrant Erickson <marathon96@gmail.com>
Signed-off-by: NLuciano Coelho <coelho@ti.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册