Skip to content

Commit

Permalink
wl12xx: Add support for an external 26 MHz crystal source
Browse files Browse the repository at this point in the history
Add support for an external 26 MHz crystal source.

[Changed wl->ref_clock to priv->ref_clock -- Luca.]

Signed-off-by: Grant Erickson <marathon96@gmail.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
  • Loading branch information
Grant Erickson authored and Luciano Coelho committed Jun 7, 2012
1 parent 9fccc82 commit e16de2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/ti/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e16de2c

Please sign in to comment.