]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mxl5005s: fix: don't discard bandwidth changes
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Dec 2011 10:13:50 +0000 (07:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 10:27:11 +0000 (08:27 -0200)
commit6ba126bf41525656d2637220a72583ef91642260
treee6b0825b5adfa40cf220f5364ae8fb23a8796320
parent91f6e229bab5b83cc8e49a7d1cc512343a130f10
[media] mxl5005s: fix: don't discard bandwidth changes

There is a bug on mxl5005s logic: when the bandwidth changes, but using
the same delivery system, the code discard the set_params()
reconfiguration request.

This was happening because, in the previous coding, the bandwidth
calculus were after the check for delivery system changes.

The previous patch changed the logic to estimate the bandwidth to
happend together with the changes at the delivery system.

So, with a one-statement change, it is possible to make the tuner to
reconfigure, in order to adjust to bandwidth changes. this will
likely fix issues on countries that use 7MHz/8MHz DVB-T channels.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/mxl5005s.c