From patchwork Tue Jan 26 14:09:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8123171 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E79B5BEEE5 for ; Tue, 26 Jan 2016 14:13:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2588A20222 for ; Tue, 26 Jan 2016 14:13:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E7B1D2025B for ; Tue, 26 Jan 2016 14:13:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757418AbcAZOM2 (ORCPT ); Tue, 26 Jan 2016 09:12:28 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:62932 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757356AbcAZOMR (ORCPT ); Tue, 26 Jan 2016 09:12:17 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0Lj2f0-1ZpXkA1RLK-00dJYL; Tue, 26 Jan 2016 15:11:48 +0100 From: Arnd Bergmann To: Mauro Carvalho Chehab Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] [media] em28xx: only use mt9v011 if camera support is enabled Date: Tue, 26 Jan 2016 15:09:59 +0100 Message-Id: <1453817424-3080054-5-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1453817424-3080054-1-git-send-email-arnd@arndb.de> References: <1453817424-3080054-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:pam+EteejU3P4zgd1NnZPWF6BXW/0JGNKXMvRyH9wZACUODP39f oOmpFlnyM16t7BlxIkvArDiUDSHW39bhugUdVzyUBmKnS85Vj6YC7As8Qgrgb3iBHu1763Z 8h3nwcf2n6ZVJiiz1g3KYgPF84UUANcFsZ0n+hzfRACDQjlosMTgOTGFxcw/eqXgu0VUuat L5ZEA6pkuqFOXDaYp76vA== X-UI-Out-Filterresults: notjunk:1; V01:K0:cgenjSk76OA=:p6Is5Tngp2FgemCXcF1FDx 9igYzfPbrrY7VJ07czSZ6W6+wUH0pRAxfcEtpgMX3YLgPk9xDE38kytJEy9GQTl52hjGeqCmJ XzyjIo9bQZDT3H2AN+bhkibZLfN+9Xi0hWuD6EKWL91MKvxkuHCqbIl5zvtlrd85PdJLY5zlE eugEgS9eKGpQowy9OjdVkuZ+1vQT3ltANWuM6Bg9B1wWYC3Bjfh/AqxjGETjVNsY8XA+OxmlE LYjo6CYVN/qiF65XbzIansKWVtz4t8HvC4fHaA2zG3J78ajUTLgCWlm/x6BPqphdWKAKAlsjc dNgGOKF1YOPHSADQN2WVzsaGTFdCxO+B39V3I/efUDg1XluTcdsdEZgjkTU9ZOq63jM7cWNal Isvlo5s+MeUHDsvvLFfL+zJfSIsBNKfifd7j4sFXZpPWyp6WyAcQjEgyE+VGjq9Q3FDtmpzMS vdUrCC3Wc0XdtFAoO6Vwv4Pn7eii1Aow4fwMn0BRTpMTuntl+mm3GDNyhBI9eAfO16jpKJ3ES uY2iql7Qw+RfzjOlIJQjSkk+GPRu+AL/reHC7/LaUuWsJDh1jT2vHmH6ENr8q2w9IPBT4A/Rz 3z5dvPye+la6RaQg3oK6L/dEureli3+ZyyMX7wvoDBBFbJbKIsEcLonKPS8SOvfieGQQhbUzQ qHcAwTGQH6XvTyRFz+AkjwSHOJuL9wCAEIu/xYcQTVyWurWJ1gAeMjJtkp/h+xExi8X0= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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.