[media] mt2063: Rewrite tuning logic
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 22 Jul 2011 20:05:15 +0000 (17:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jan 2012 00:48:57 +0000 (22:48 -0200)
commit2e1d5885f4964e949eb9a4c1ecf297c297140134
tree678a6dc4668c9eb686fddd7705d147ab91e45ffe
parentdb6587bfd251384ff96c8891ded9a07c849daf00
[media] mt2063: Rewrite tuning logic

Several vars at set_parms functions were set, but unused.
 Remove them and change the logic to return -EINVAL if the
analog set_param is used for digital mode.

At the analog side, cleans the logic that sets the several
analog standards.

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