]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (12481): Fix lowband tuning with tda8261
authorJulian Scheel <julian@jusst.de>
Fri, 31 Jul 2009 16:40:43 +0000 (13:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:19:07 +0000 (12:19 -0300)
commit8447ac9678e227b278084a4851f12afd4033fa81
treec86eca600cca0a9e87f3bb7c92dd0ddc914371b7
parent6dd984ba458a6081243350d57c00a60d0ab9eda6
V4L/DVB (12481): Fix lowband tuning with tda8261

Attached is a patch which fixes tuning to low frequency channels with
stb0899+tda8261 cards like the KNC TV-Station DVB-S2.
The cause of the issue was a broken if construct, which should have been
an if/else if, so that the setting for the lowest matching frequency is
applied.

Without this patch for example tuning to "arte" on Astra 19.2, 10744MHz
SR22000 failed most times and when it failed the communication between
driver and tda8261 was completely broken.
This problem disappears with the attached patch.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/tda8261.c