]> Pileus Git - ~andy/linux/commit
[media] stk-webcam: Add an upside down dmi table, and add the Asus G1 to it
authorHans de Goede <hdegoede@redhat.com>
Thu, 29 Nov 2012 09:56:45 +0000 (06:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 15:34:30 +0000 (13:34 -0200)
commit7a29ee2e37b3f9675f46c87998c67b68c315c54a
tree072009d5631001ac6455bcdfc6f9b9a1af8ca39a
parent143dd34597a2e051cb0938b28387b94742d4e4e4
[media] stk-webcam: Add an upside down dmi table, and add the Asus G1 to it

The stk-webcam module is inserted upside-down in some webcams, so we
need to de hflip and vflip by default on some models.
Note that this patch inverts the value of the controls as reported by
the control API in this case so that for the user they still make sense
(iow not doing any flipping from the ctrl API pov results in an upright
image).

Reported-by: Jose Gómez <adler@dreamcoder.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/stkwebcam/stk-webcam.c