]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mt2060: remove fake implementaion of get_bandwidth()
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Dec 2011 20:09:15 +0000 (17:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 10:26:40 +0000 (08:26 -0200)
commit6307f572d6db066bc3628b2616e80a576610ee74
tree8e9e3c19a326273f0e2a759844ee0006ed67f6f6
parent01c00c4ed52f105dd8fcd785745b13778c749ac2
[media] mt2060: 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/mt2060.c
drivers/media/common/tuners/mt2060_priv.h