[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)
commit8bdfe557b8fa56cb9d9f6f036c0b2e6cb8abafb4
tree205cb6e40c0d59878d54985129ac9e4ac0a60156
parent919729237f4f1a37bfe0e94a17e7a4bdfa9f5f8e
[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