OSDN Git Service

media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table
authorHans de Goede <hdegoede@redhat.com>
Sun, 18 Aug 2019 15:03:23 +0000 (12:03 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 26 Aug 2019 13:43:20 +0000 (10:43 -0300)
Like a bunch of other MSI laptops the MS-1039 uses a 0c45:627b
SN9C201 + OV7660 webcam which is mounted upside down.

Add it to the sn9c20x flip_dmi_table to deal with this.

Cc: stable@vger.kernel.org
Reported-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/gspca/sn9c20x.c

index 12a2395..2a6d0a1 100644 (file)
@@ -124,6 +124,13 @@ static const struct dmi_system_id flip_dmi_table[] = {
                }
        },
        {
+               .ident = "MSI MS-1039",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "MICRO-STAR INT'L CO.,LTD."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "MS-1039"),
+               }
+       },
+       {
                .ident = "MSI MS-1632",
                .matches = {
                        DMI_MATCH(DMI_BOARD_VENDOR, "MSI"),