Add support for an external 26 MHz crystal source.
Signed-off-by: Grant Erickson <[email protected]>
---
v1 Initial submission.
v2 Add a body description to the commit.
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
On Fri, 2012-06-01 at 09:19 -0700, Grant Erickson wrote:
> Add support for an external 26 MHz crystal source.
>
> Signed-off-by: Grant Erickson <[email protected]>
> ---
> 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.