add workaround for E4K gap between 325-350 MHz
This commit is contained in:
parent
83ebd2b310
commit
dda6e9c4cb
|
@ -445,7 +445,9 @@ static int e4k_band_set(struct e4k_state *e4k, enum e4k_band band)
|
||||||
e4k_reg_write(e4k, E4K_REG_BIAS, 0);
|
e4k_reg_write(e4k, E4K_REG_BIAS, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
/* workaround: if we don't reset this register before writing to it,
|
||||||
|
* we get a gap between 325-350 MHz */
|
||||||
|
rc = e4k_reg_set_mask(e4k, E4K_REG_SYNTH1, 0x06, 0);
|
||||||
rc = e4k_reg_set_mask(e4k, E4K_REG_SYNTH1, 0x06, band << 1);
|
rc = e4k_reg_set_mask(e4k, E4K_REG_SYNTH1, 0x06, band << 1);
|
||||||
if (rc >= 0)
|
if (rc >= 0)
|
||||||
e4k->band = band;
|
e4k->band = band;
|
||||||
|
|
Reference in New Issue