]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx231xx: fix tuner compliance issues
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 13 Sep 2012 15:54:36 +0000 (12:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:25:58 +0000 (14:25 -0300)
commit6c1b537d856eb65efb89c4391750713a6772e27c
tree775392f7e2d90ee3112d8909107caa20dea99fc9
parent0896ea5bc34c6dd0ee5612fe22323d830e755e0a
[media] cx231xx: fix tuner compliance issues

The g_tuner call wasn't passed on to the subdevices, g_frequency didn't
check for invalid tuners and a low-level function that was expected to
return 0 or a negative error returned a positive number instead, causing
s_frequency to return bogus errors.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/cx231xx/cx231xx-avcore.c
drivers/media/usb/cx231xx/cx231xx-video.c