From patchwork Thu Mar 1 15:27:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 130302 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp2953079edc; Thu, 1 Mar 2018 07:39:06 -0800 (PST) X-Google-Smtp-Source: AG47ELsNj5RoW1gIwVQCLaWoMlOc8S+YMrr1TUFGMn3mSDh2ArqBG4Yf8NYHEojR0bXj3WRqAWHe X-Received: by 10.98.198.146 with SMTP id x18mr2366907pfk.22.1519918746037; Thu, 01 Mar 2018 07:39:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519918746; cv=none; d=google.com; s=arc-20160816; b=Nrur6vt4OvyYTEQykefiWyQhF3tIuTHAZK3NFn4Lnk+8kbt26rKBoG0lChpNyXXQlM UIMRidPivJ45/H/QtMASOmWA4Lw0mjv/iyccJw0Gljl0AkAwulriHVfzlEqA3BkqnKLD iScRrjWxVr1SFMLpTIaeZvNkWj+MGy+EosWno+5rNo2wSmmDg+xNMKzDm8gI90NeMjcs ksX6Bz4thkYl9Kn5s8RVACzMQA41xKHnpQfHWj7XXw96qkwJNgqNaWa5SpOATwlybhBn Pp3l0Yvt94tCCBJc1YeUpBpCiR1OZMUl/Yx5cEIbyUrJco+5pfvPKzODwFmpu63abFAK v0vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=ztdSqnIuJLLeZYgQQssOwMclRsPuTAePZSxFnn5oIw4=; b=lWc5iHjRqYcFAyEXEFV5DKB4Zb3hBx1cl6ZCssCCpZloi5AyD2vMY05bQjZogKC19u 3nbJosm9MWu/xsIRV2MSYbiz1SXOYWdHLQIONn/WS6+6u4dUJkbleiriTilcGYPKGgxH jlTlt59M9BjsuUPOAKJF1ePwgmj09LXG8RA0L+yqENsYIw08BhcBACooMEDpCFFlk1ZU 8eH2u35N/9X0oNKoy4wJYW8R0fL7ennqWIiTl0rvnEMn1hYqBzL/XXMATVSHwN54bbY5 V/9+kqmlXzCSkUmtEJQlTiMRki5tbndpjFMZ/8vJVIvEqGLUq9W54nSDZQZbSCsjPy6t zR6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=LE0e/pOm; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b15si2586092pgs.318.2018.03.01.07.39.05; Thu, 01 Mar 2018 07:39:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=LE0e/pOm; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032570AbeCAPjD (ORCPT + 10 others); Thu, 1 Mar 2018 10:39:03 -0500 Received: from mail-bn3nam01on0130.outbound.protection.outlook.com ([104.47.33.130]:32096 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1032484AbeCAPio (ORCPT ); Thu, 1 Mar 2018 10:38:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ztdSqnIuJLLeZYgQQssOwMclRsPuTAePZSxFnn5oIw4=; b=LE0e/pOmkNApV4pODzwdVLIfs8B568NSavXCcSKigevFREZ1UmKQRu6X6B3P/2G1k/LiQ4CM5zkFM/AgNEMt4n0nOZ/61TIBhFHNY0zzKJvcldhZB+FBSt7VNVILRiop4+aewufgNN9lBB6QrWcCzKnCxCduee6WzvaJ8GG3gvQ= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0902.namprd21.prod.outlook.com (52.132.132.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.2; Thu, 1 Mar 2018 15:38:40 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8063:c68a:b210:7446]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8063:c68a:b210:7446%2]) with mapi id 15.20.0567.006; Thu, 1 Mar 2018 15:38:40 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "stable-commits@vger.kernel.org" CC: Arnd Bergmann , Mauro Carvalho Chehab , Sasha Levin Subject: [added to the 4.1 stable tree] [media] em28xx: only use mt9v011 if camera support is enabled Thread-Topic: [added to the 4.1 stable tree] [media] em28xx: only use mt9v011 if camera support is enabled Thread-Index: AQHTsXHTjhiwKgwW206A34nmTBRLmw== Date: Thu, 1 Mar 2018 15:27:35 +0000 Message-ID: <20180301152116.1486-478-alexander.levin@microsoft.com> References: <20180301152116.1486-1-alexander.levin@microsoft.com> In-Reply-To: <20180301152116.1486-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR2101MB0902; 6:MiusFMI/y6SKQ7S1p0CAlUqPffzOuj9iiwHmt0I24vRY+MiJVr73oHFNlW4yYGQ5FS2HBvnMZdjFO8cfH1xUIRtFOq6n+EmMU5HnBHPUeF3q/V1r4qcvtSq0qoDf+cXRzKVB4HMWC3kkMaMsI8UJCgcnZe7D+8/5PNb71JnwEYMuyC36yXbso/ZPlT3HWmTv/mbYpM5KNR3COdyk7YIrzttIXWji4AhxpiqlSnxPh6diDJb9ktrfsjvNW58lWXQ3o4X9693IPzfSt/okwGRQ1Y0n8MmDpWVM6EuEBt4uwsA8gygpT/7oBWpYt6LPqW8819ya1IiUFPWKL5tVNR6foFLIcpyvnC75Xkn+/uwn2hICrwCVwi3VIlINBCyl9pnD; 5:felv4wVjaTKzHTnym3bMYhIoBChax27z5tORAqAT1PconsAa3p4w776fS91pC5Rpq6SH/qzBoCJBE1QYvzySJjC/KCIHmktAuvRn4hUPj34BIFNvgPgCCRwLgkUABcnshxQqr094K4+wEBF/NyFIcHNVK1O7ILcDlC8MJ2syc18=; 24:HXCspvx/LOfNPzI80q8QroXuq9LuacO8QmbUwhBwF6BEJxTSA37gInoQoEWuAFlKcs99p68/8HLV5fPpOnejjBXtuY0IG5tJbgT2Mld2jmU=; 7:lrz18TjFvia/alNpMKncWFHJfPhpsKbHpMNLs8jAnYJW7BjUcjnM/y24fPqotf9hHdIRi32RDYD+IJyuWHbr4mbTt6GL7SPB1nfDVwyBJXEjgmfri0BDOW3CDbgPAL0nOlwf9F9CIFmx3nsmfSnAsYsKZqCGb7l0k8h2h28AHNd8XLEfr0uLVqjfBsbZOSvI7yqzEjjs/wwGHwLIU8jq2RThBJJ3NEqXUbR451updoKkGzzpLtFrUV7aHOZvT/3a x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 2a4d5dec-34b9-4d7b-545f-08d57f8a820e x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020); SRVR:DM5PR2101MB0902; x-ms-traffictypediagnostic: DM5PR2101MB0902: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040501)(2401047)(8121501046)(5005006)(3231220)(944501229)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:DM5PR2101MB0902; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB0902; x-forefront-prvs: 05986C03E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(376002)(39380400002)(39860400002)(346002)(199004)(189003)(6116002)(72206003)(1076002)(3846002)(25786009)(2900100001)(36756003)(14454004)(316002)(3660700001)(6666003)(54906003)(110136005)(2950100002)(305945005)(7736002)(99286004)(5250100002)(86612001)(10090500001)(107886003)(66066001)(106356001)(2501003)(6512007)(6486002)(97736004)(6436002)(22452003)(68736007)(81166006)(8676002)(81156014)(53936002)(186003)(26005)(105586002)(3280700002)(8936002)(76176011)(478600001)(4326008)(10290500003)(575784001)(86362001)(5660300001)(2906002)(6506007)(102836004)(59450400001)(6346003)(22906009); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB0902; H:DM5PR2101MB1032.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: PCM5jpuvwKhGopV2eQAvpSMo1Dhjbd+PuYik3SZpoNhl8ZSwwGBfdWT19cR1eBR4rCzs9yHh4VgyOFpDSHOqVE8Pdr6clK8UeQx2sXd7sF+8SpBcnlnLjzME3eBH3m0Z0QY5jldHF6coZa+IiVGDDoJLLvKUfxCbFg2wVqExzK8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a4d5dec-34b9-4d7b-545f-08d57f8a820e X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2018 15:27:35.7531 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0902 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann This patch has been added to the 4.1 stable tree. If you have any objections, please let us know. -- 2.14.1 =============== [ Upstream commit 190b23b4eb997767afad186bd8c96badceabf39e ] In randconfig builds that select VIDEO_EM28XX_V4L2 and MEDIA_SUBDRV_AUTOSELECT, but not MEDIA_CAMERA_SUPPORT, we get a Kconfig warning: warning: (VIDEO_EM28XX_V4L2) selects VIDEO_MT9V011 which has unmet direct dependencies (MEDIA_SUPPORT && I2C && VIDEO_V4L2 && MEDIA_CAMERA_SUPPORT) This avoids the warning by making that 'select' conditional on MEDIA_CAMERA_SUPPORT. Alternatively we could mark EM28XX as 'depends on MEDIA_CAMERA_SUPPORT', but it does not seem to have any real dependency on that itself. Signed-off-by: Arnd Bergmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/usb/em28xx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/em28xx/Kconfig b/drivers/media/usb/em28xx/Kconfig index e382210c4ada..75323f5efd0f 100644 --- a/drivers/media/usb/em28xx/Kconfig +++ b/drivers/media/usb/em28xx/Kconfig @@ -11,7 +11,7 @@ config VIDEO_EM28XX_V4L2 select VIDEO_SAA711X if MEDIA_SUBDRV_AUTOSELECT select VIDEO_TVP5150 if MEDIA_SUBDRV_AUTOSELECT select VIDEO_MSP3400 if MEDIA_SUBDRV_AUTOSELECT - select VIDEO_MT9V011 if MEDIA_SUBDRV_AUTOSELECT + select VIDEO_MT9V011 if MEDIA_SUBDRV_AUTOSELECT && MEDIA_CAMERA_SUPPORT ---help--- This is a video4linux driver for Empia 28xx based TV cards.