]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mt2031: remove fake implementaion of get_bandwidth()
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Dec 2011 00:26:01 +0000 (21:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 10:26:44 +0000 (08:26 -0200)
commit09ff8f251ba30ce85daed18dcb8da7d130370b73
treeff0af3ebd2bdfac268dbe95b4e1526b96ff8137d
parent4341fc7b92d08dae669b9f0cc20c940f0bbae5a2
[media] mt2031: remove fake implementaion of get_bandwidth()

This driver implements a fake get_bandwidth() callback. In
reallity, the tuner driver won't adjust its low-pass
filter based on a bandwidth, and were just providing a fake
method for demods to read whatever was "set".

This code is useless, as none of the drivers that use
this tuner seems to require a get_bandwidth() callback.

While here, convert set_params to use the DVBv5 way to pass
parameters to tuners.

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