[media] mt2063: Fix analog/digital set params logic
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Jul 2011 18:46:49 +0000 (15:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jan 2012 00:21:34 +0000 (22:21 -0200)
commit99ac54125490f16f7434f82fcb73bbb88290b38e
tree75d28f81fbe285f8a3d6fd8ee72d6a159a615ab6
parent6fb167000e6b726bc9f129af08b6aad3ef075da4
[media] mt2063: Fix analog/digital set params logic

The driver were using a hacky way of setting analog and digital
frequencies. Remove the hack and properly add the tuner logic for
each supported type of standard.

I was tempted to add more standards there, like SECAM and to fix
radio (as stepping seems broken), but I opted to keep it as-is,
as tests would be needed to add additional standards.

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