Received: by 10.223.185.116 with SMTP id b49csp1125618wrg; Fri, 23 Feb 2018 12:22:34 -0800 (PST) X-Google-Smtp-Source: AH8x224yN4M1t6aDEvLLott7DgOWJynC4UBWMmXrOecM0wTXlYdq+9+KNE2W35wpejpgz4rYu/XI X-Received: by 2002:a17:902:5269:: with SMTP id z96-v6mr2773506plh.385.1519417354808; Fri, 23 Feb 2018 12:22:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519417354; cv=none; d=google.com; s=arc-20160816; b=YcCD8nc6ZiBSDIPMDfa1ZUoZWrxlslo8S9JEhqv837HkZHkb468Es26w8vItFuO2bf Tr5tLyAOeOr5dNH+9MCfE+FgmvGpDBSyDIGya/UmPtgp4642UAU79E1UAx5t3QgVnk7L NhzAi0Q3rOc4OrgFPXCKFx7kVj7IAGr0M2vhXGYDSGisr6SbWjD8BSTboEerhsY3xsRY DtcdERPyDPPFjHlJXLEhQTMxOiTLys7lF6LJGpBtBZPvVYwzdxv8qPGF/8L5qQBRsHNr jIN6vFXnA8gNFVQrz/HOOeb59IQIa0i2JB29JTWU7mG7lHFQHQJ6NTi1rcVHTMJzcCmQ cBgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=b5zvYft1iCEgNBC7/ilvZ1WFtB2s6fWrS2Esna3IviI=; b=KKg2O1WZxW1Xe6Q0ybcSsr1zKfsNqGbLlmy/+2a7nU7kLQ2gc1MpRYdYFs6N8ObnlA Ux20E0A76lPMRwkZiHr493+Ds8nSeHxNtsdjwp0zi0MMCNUG0uCWyUmPIxFdsnf//lhS iy4ol+jiObcoSdZI0fje44hBdLRfiCpj99VDHRHaWKnxIYizEalxnKiRlOofIoCz4kZ8 tcNSIK7vNRXoCMqD3UDL0w+/8KHfC4sF1KMO9fRL1P+XERmztM9yvk2583de5CgZEXnt mOtjXDKbIDs1VkSTNt1wWzOOrss6A6DCRFIDt9ImJUgLMfsYoQzOIjDfjHss0arbDr14 48mQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a62si1939149pgc.70.2018.02.23.12.22.20; Fri, 23 Feb 2018 12:22:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932505AbeBWSjD (ORCPT + 99 others); Fri, 23 Feb 2018 13:39:03 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:39506 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932493AbeBWSjB (ORCPT ); Fri, 23 Feb 2018 13:39:01 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C24AE1142; Fri, 23 Feb 2018 18:39:00 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Mauro Carvalho Chehab Subject: [PATCH 4.4 135/193] [media] em28xx: only use mt9v011 if camera support is enabled Date: Fri, 23 Feb 2018 19:26:08 +0100 Message-Id: <20180223170346.972995069@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit 190b23b4eb997767afad186bd8c96badceabf39e upstream. 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: Greg Kroah-Hartman --- drivers/media/usb/em28xx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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.