2012-06-01 16:19:08

by Grant Erickson

[permalink] [raw]
Subject: [PATCH v2] wl12xx: Add support for an external 26 MHz crystal source

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



2012-06-07 15:35:49

by Luciano Coelho

[permalink] [raw]
Subject: Re: [PATCH v2] wl12xx: Add support for an external 26 MHz crystal source

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.