mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
V4L/DVB (9452): Fix invalid GCT mode
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
18527bee91
commit
d681208650
@ -360,7 +360,10 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency)
|
||||
g = 12;
|
||||
else
|
||||
g = 14;
|
||||
|
||||
regs[STB6100_G] = (regs[STB6100_G] & ~STB6100_G_G) | g;
|
||||
regs[STB6100_G] &= ~STB6100_G_GCT; /* mask GCT */
|
||||
regs[STB6100_G] |= (1 << 5); /* 2Vp-p Mode */
|
||||
|
||||
/* VCO divide ratio (LO divide ratio, VCO prescaler enable). */
|
||||
if (frequency <= 1075000)
|
||||
|
Loading…
Reference in New Issue
Block a user