]> git.baikalelectronics.ru Git - kernel.git/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)
commit048ff31d5515ae31f7beb723286c33a45b47cdc2
tree072009d5631001ac6455bcdfc6f9b9a1af8ca39a
parentf5ec9c7d9688d7c00313ab83f1c15a5905906932
[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