]> git.karo-electronics.de Git - karo-tx-linux.git/commit
DVB: cx24123: fix PLL divisor setup
authorYeasah Pell <yeasah@schwide.net>
Sun, 8 Oct 2006 18:46:16 +0000 (14:46 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Oct 2006 18:50:10 +0000 (11:50 -0700)
commit2d287e0384ce2b7c8d2e54697c95a83fc417a2e1
treefbb4c65c50e694b0465c8db5e9f0f688f761d012
parent90d684520e3484b913647bf1c0026f795a087905
DVB: cx24123: fix PLL divisor setup

The cx24109 datasheet says: "NOTE: if A=0, then N=N+1"

The current code is the result of a misinterpretation of the datasheet to
mean exactly the opposite of the requirement -- The actual value of N is 1 greater than the value written when A is 0, so 1 needs to be *subtracted*
from it to compensate.

Signed-off-by: Yeasah Pell <yeasah@schwide.net>
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/dvb/frontends/cx24123.c