mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-21 19:18:45 +07:00
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: Grant Erickson <marathon96@gmail.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
This commit is contained in:
parent
9fccc82e19
commit
e16de2c4fc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user