summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorAndreas Pape2018-11-23 17:14:52 +0100
committerMauro Carvalho Chehab2018-12-05 19:53:08 +0100
commit2bf47eefca6de0547e866c05935c592ed7ea06f6 (patch)
treeb0f40d7de203ccf8c524338768027ab8ff4d5136 /drivers/media/usb
parentmedia: rockchip/vpu: fix a few alignments (diff)
downloadkernel-qcow2-linux-2bf47eefca6de0547e866c05935c592ed7ea06f6.tar.gz
kernel-qcow2-linux-2bf47eefca6de0547e866c05935c592ed7ea06f6.tar.xz
kernel-qcow2-linux-2bf47eefca6de0547e866c05935c592ed7ea06f6.zip
media: stkwebcam: Support for ASUS A6VM notebook added.
The ASUS A6VM notebook has a built in stk11xx webcam which is mounted in a way that the video is vertically and horizontally flipped. Therefore this notebook is added to the special handling in the driver to automatically flip the video into the correct orientation. Signed-off-by: Andreas Pape <ap@ca-pape.de> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb')
-rw-r--r--drivers/media/usb/stkwebcam/stk-webcam.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/usb/stkwebcam/stk-webcam.c b/drivers/media/usb/stkwebcam/stk-webcam.c
index e11d5d5b7c26..e61427e50525 100644
--- a/drivers/media/usb/stkwebcam/stk-webcam.c
+++ b/drivers/media/usb/stkwebcam/stk-webcam.c
@@ -116,6 +116,13 @@ static const struct dmi_system_id stk_upside_down_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "T12Rg-H")
}
},
+ {
+ .ident = "ASUS A6VM",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "A6VM")
+ }
+ },
{}
};