media: stkwebcam: Support for ASUS A6VM notebook added.
authorAndreas Pape <ap@ca-pape.de>
Fri, 23 Nov 2018 16:14:52 +0000 (11:14 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 5 Dec 2018 18:53:08 +0000 (13:53 -0500)
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>
drivers/media/usb/stkwebcam/stk-webcam.c

index e11d5d5b7c263e9a00be1e2334b108f2f14111ee..e61427e50525f03e38eb53d41603b101a6bad34a 100644 (file)
@@ -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")
+               }
+       },
        {}
 };