]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit4e13f034e3c760120baaa67c81eef94b111ed96a
tree9c8d532e0d08d2f755eab1b25caa7dbf76cd80c5
parente2dc21f0d7158eb996d3b1dcc30b1d04636baaf9
[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