]> err.no Git - linux-2.6/commit
V4L/DVB (4926): Fix USBVision handling of VIDIOC_QUERYCTRL
authorDwaine Garden <dwainegarden@rogers.com>
Mon, 4 Dec 2006 11:31:11 +0000 (08:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 10 Dec 2006 11:05:43 +0000 (09:05 -0200)
commit18d8a4540caddaa9a42fb4dbc04c75c4b806278b
treef4ca78839491a29f83084b55630015a60106f5b3
parentcc9e595a585a4f067dcfdc67e7c4432702ea28ac
V4L/DVB (4926): Fix USBVision handling of VIDIOC_QUERYCTRL

There's a better (and recommended) way for handling VIDIOC_QUERYCTRL.

This patch will fix the issue where the hardware control values were
invalid and stops the SAA7115 module from complaining about invalid values.

saa7115 4-0024: invalid brightness setting 32768
saa7115 4-0024: invalid contrast setting 49152
saa7115 4-0024: invalid hue setting 32768
saa7115 4-0024: invalid saturation setting 32768

Signed-off-by: Dwaine Garden <dwainegarden@rogers.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/usbvision/usbvision-core.c