Received: by 10.223.185.116 with SMTP id b49csp1159062wrg; Fri, 23 Feb 2018 13:01:48 -0800 (PST) X-Google-Smtp-Source: AH8x225BRN0ySgs5E6VAarunhptmplq6lUUoKJQ4nolJibipcT5ZLR6fT4+phqZ+b+xdkzvbEoAp X-Received: by 10.99.145.199 with SMTP id l190mr2306619pge.397.1519419708190; Fri, 23 Feb 2018 13:01:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519419708; cv=none; d=google.com; s=arc-20160816; b=zK4cH7tecNtwuM2wtsGbDy9A1oxF30p+WkY1Kw8Rqn2Dv1QP6Nqt5ejZ+DxETGkBDd cZhRb0XPfo2xoHyi4N0/noeARWccs4LfF77fsHChN/LXHSZBHpSdp0dfM3myxG6iL8th Rmd5r4kS0qnBhZ0BJiAclO0oevTWlWItkk8O+rADxcJFnzObd1byRvp/I7YfrSgS5YcW 4a9W4L4V3e0cgAWrPnJKv+x7mUXu9ML2+L63YdpbY8EACAyi8HQTbagiXffb4sLZuXfK gWGsblQ7UA87Eeoh1xLgvQkTFz9y86FmMJFEKR3/nz31JhbxrsTZSvkaZh4lPBAHtq1+ dyxQ== 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=cd/ESo/5j90qYAAqKz4IgQZBnuE6CH9oPpKZAu2bze8=; b=OuI6hFwxBqJDuk0peKXWBP8vWQWXAcRUGGn2pakQSdcHvio+AQR42cvSDjeIOwmXhP I5qVXs9WDoxjCqoggvVfTtWsZ+bOOLh7zXXgwihZZUkXjsulzXK8+yI+6Pu4Si9qkAHy fjLSvJhNoZsHi7ePcLWnVEkFzB+rJp5lZEjvmPewJSQeR8770EXNWAtDPihd+U0xM8UR icCkbLFnrf+RArovYhL7E7yLHghvuI/N9kuqW0WY9c1n6n4eDBRcguXr8op7r2srdZBo lmL4POLjFH/2OX6fWdIskzt1PdxRuTWZbPGVuc4MiwU7KQfhUKAvV3eGssCipFoWWCm+ oMIw== 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 f62-v6si2294884plb.313.2018.02.23.13.01.32; Fri, 23 Feb 2018 13:01:48 -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 S1754807AbeBWTlb (ORCPT + 99 others); Fri, 23 Feb 2018 14:41:31 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:45200 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933827AbeBWStM (ORCPT ); Fri, 23 Feb 2018 13:49:12 -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 0852510ED; Fri, 23 Feb 2018 18:49:11 +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.9 129/145] [media] em28xx: only use mt9v011 if camera support is enabled Date: Fri, 23 Feb 2018 19:27:15 +0100 Message-Id: <20180223170741.460941835@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170724.669759283@linuxfoundation.org> References: <20180223170724.669759283@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.9-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.