]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (8720): gspca: V4L2_CAP_SENSOR_UPSIDE_DOWN added as a cap for some webcams.
authorHans de Goede <j.w.r.degoede@hhs.nl>
Wed, 3 Sep 2008 19:48:16 +0000 (16:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 3 Sep 2008 21:37:00 +0000 (18:37 -0300)
commit6bc66c175a200c1897b4a1b3567170d99183f799
tree05a958f34d5e713712d3545a1f2519f94b37410c
parentd3aa31dfbc95f5b1e57a265e9a1dcb2c678ef7d0
V4L/DVB (8720): gspca: V4L2_CAP_SENSOR_UPSIDE_DOWN added as a cap for some webcams.

This patch adds a V4L2_CAP_SENSOR_UPSIDE_DOWN flag to the capabilities flags,
and sets this flag for the Philips SPC200NC cam (which has its sensor installed
upside down). The same flag is also needed and added for the Philips SPC300NC.

Together with a patch to libv4l which adds flipping the image in software this
fixes the upside down display with the SPC200NC cam.

Signed-of-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c
drivers/media/video/gspca/gspca.h
drivers/media/video/gspca/zc3xx.c
include/linux/videodev2.h