From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDF07C32792 for ; Thu, 3 Oct 2019 16:22:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B68520659 for ; Thu, 3 Oct 2019 16:22:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570119722; bh=ZYCCv+T4GyOSEM7sSveA086+4vtEk0XaVhStkGR/kfM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=zLWvuGfwoP5kzKAujlr3WdVeJSE5Vyi4AZYq3yNQJiphg9RDny2Q3XB77kEs947EA y+NQB+Le84CKji4TyjWFX9Cq4mr3VtUWSFtmIL8EA5N0UNr+W4nQ4BDQroqz92d7iH YaDbtSch4nP6dNkgnCgDQUd/RBcJ5d9oPO0ef1pY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390231AbfJCQWB (ORCPT ); Thu, 3 Oct 2019 12:22:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:50466 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390208AbfJCQV6 (ORCPT ); Thu, 3 Oct 2019 12:21:58 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1BC2A2054F; Thu, 3 Oct 2019 16:21:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570119717; bh=ZYCCv+T4GyOSEM7sSveA086+4vtEk0XaVhStkGR/kfM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YWgYrk8VElaSq/wrTS7e1XfLMsPmI7UmpQsiZrLTLsyIllPulogUctNBJCI8iaJZQ Upl7zda1PAd0AXdgVM+p8I7ykZb8zO0gknK8Vr5oRtSMfsctD9FyCGgR0WS1qkFRZU IiY6kBif4Z5kxXfqHm0urRe462koUrZbf5ArtCbM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rui Salvaterra , Hans de Goede , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH 4.19 168/211] media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table Date: Thu, 3 Oct 2019 17:53:54 +0200 Message-Id: <20191003154525.987598969@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003154447.010950442@linuxfoundation.org> References: <20191003154447.010950442@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede commit 7e0bb5828311f811309bed5749528ca04992af2f upstream. 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 Signed-off-by: Hans de Goede Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- drivers/media/usb/gspca/sn9c20x.c | 7 +++++++ 1 file changed, 7 insertions(+) --- a/drivers/media/usb/gspca/sn9c20x.c +++ b/drivers/media/usb/gspca/sn9c20x.c @@ -133,6 +133,13 @@ static const struct dmi_system_id flip_d } }, { + .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"),