]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tda18271: fix bad calculation of main post divider byte
authorMichael Krufky <mkrufky@kernellabs.com>
Sat, 16 Apr 2011 16:22:10 +0000 (13:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 19 Apr 2011 14:32:44 +0000 (11:32 -0300)
commitcdafbc93e3ad9ae1cc72ecd059af519e34da601b
treeaa5fc2696c410d3dc09bccb4c5a9ec7c2e3dc341
parent5c1363da4f7cc976733a13535429d613c18a5677
[media] tda18271: fix bad calculation of main post divider byte

R_MPD bit 3 does not depend on analog vs. digital. Just use
(0x7f & pd) directly from the values in the main pll table.

Thanks to Stefan Sibiga for pointing this out.

Cc: Stefan Sibiga <stefansibiga@yahoo.ca>
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tda18271-common.c