[media] tlg2300: fix frequency handling
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 31 Jan 2013 09:27:37 +0000 (06:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 13:47:37 +0000 (10:47 -0300)
commit7556ba9bfb2ef0f2709fba40e77c7cc488645c79
tree9c8d532e0d08d2f755eab1b25caa7dbf76cd80c5
parentc5d8907faa93757aa440fd2e584e4db4b8edc14a
[media] tlg2300: fix frequency handling

The usual set of problems: the frequency isn't clamped to the frequency range,
no tuner index check and the frequency isn't initialized properly on module
load.

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-common.h
drivers/media/usb/tlg2300/pd-video.c