]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tlg2300: fix tuner and frequency handling of the radio device
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 12 Jul 2012 15:33:41 +0000 (12:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 20:30:35 +0000 (17:30 -0300)
commitde2f4b9eb1964e7d89a00c9c8956a32cfa5ca10b
tree205cb6e40c0d59878d54985129ac9e4ac0a60156
parent3c659dd7820e395c3934da731cd1427581e19d33
[media] tlg2300: fix tuner and frequency handling of the radio device

This driver now passes the tuner and frequency tests of v4l2-compliance.
It's the usual bugs: frequency wasn't clamped to the valid frequency range,
incorrect tuner capabilities and tuner fields not filled in, missing test
for invalid tuner index, no initial frequency and incorrect error handling.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/tlg2300/pd-radio.c