Message ID | 20221116094006.16054-1-lukas.bulwahn@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp48313wru; Wed, 16 Nov 2022 01:42:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf7jsraLpjqsDyQgFqwPTgQIegszijPRo9oRoAPEa6t5gjBov+VpnJ7bECSiHOWUyXMQpasP X-Received: by 2002:a17:903:264c:b0:188:a51c:b581 with SMTP id je12-20020a170903264c00b00188a51cb581mr8107132plb.55.1668591747306; Wed, 16 Nov 2022 01:42:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668591747; cv=none; d=google.com; s=arc-20160816; b=Jcd3Cp4Om29gbl56WD/Vp2xz9Nuw/NycFMwyuP2KmNGQfcpgF2AfJYEBy8t64kXOjQ PjiRptnZSNIudy3C/U6rDQjsQg4ZSXRJgbn9RIj86QRRQwoL4lm6R7MJFO+YW3T9TORG 8bbKXp89HZZKydsx4wPCI6YJjzbjOMx1spT+WtJ/kCS+FW57MvGCIan9sgItisE/lorB /Ro/HC+vLnzXNfM73qulqeW3/5oYzeHylaW8GpKyoWjhg0qUoJIPKve4GxHt5PRbVeJv MSa5lTdlqn2VJjsPU3yorhHQvExtdJC1+9SP5m9i8m4GDNpJGftmNPSl9ZkT+qGmFXjO QLkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=bRVEplC+7j6A14IZcqWB9f97UNzmakJtqB171khWs5c=; b=RFY08EuZMvnrxGG63927YOD/inB5xQoTUJRexj3XbbCWSbX66VW9AJ0mWbEAGRDlW+ KdfI7604mDdKfo/JmEhzzjOMPD48BdGsj8WHBTXjJb2J9N2QkFmc7JLUg1710f1zMeEn 6ni+HW8RO6xBVlZBLYiO7coIbgxtbFjHA8tpyKZKIWDi6964MLVYVIsxaTf4AethYkYo QFv0fCyCaQ8/lOnT7LJQRFdb66IKu87c+afJUJsVNUO65dFC/YxlH4zifgy1NbZyo3Qa ADpylouHOm3U085GCIsZug2Ap5/B8bUMTMgRR/FI22TdsccbtL0O7WPgAnXQ5d552hYL hxvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hrtIVynR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm9-20020a056a00338900b0056e6d31b27asi13789405pfb.160.2022.11.16.01.42.14; Wed, 16 Nov 2022 01:42:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hrtIVynR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238757AbiKPJks (ORCPT <rfc822;just.gull.subs@gmail.com> + 99 others); Wed, 16 Nov 2022 04:40:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238756AbiKPJk2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Nov 2022 04:40:28 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C9702A26A; Wed, 16 Nov 2022 01:40:27 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id ja4-20020a05600c556400b003cf6e77f89cso2715518wmb.0; Wed, 16 Nov 2022 01:40:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bRVEplC+7j6A14IZcqWB9f97UNzmakJtqB171khWs5c=; b=hrtIVynRsFTFAfwFj68ESejr8oNfwyFLMiOUQWmxyZ7gARsphmolR5UEOref/f8sA0 hD/ikkxUruJf/IkSGsWzmzf7U3uRj23YfiSKt1zzI4u7KN9B6SnyJLyCYz1VU6M35rCy CAa3WKWdBlF50kpVZu1fAjSLXMaqA/9of20hrSubL7kbMXwMeQ+XGWLIAkKqIWcC5YzJ UDlqOE3XT//98ZqARV0eKNkxHoKkanLQ0VbOdWA31yHkYtJpgzWJiXL3cmctF7PkqMpC NbmjZ5FmdSgwsXo+zjpFEow4j8U3TUY3pJJE9K8UZGYr8Ltu0aRhmyawa+ooHXbax/Zd 92yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bRVEplC+7j6A14IZcqWB9f97UNzmakJtqB171khWs5c=; b=4UxVk/BUiHoKxF5nZXYe0xVQUG9BvVLvNdZPYCUnePkJT2VSBgZTAfPk5IXY4yVHVc c2INSxRJRDnLh1GbTlBkqtj8Liay2LQSENGg+A2ZJD/t9hPrk8mpB2uuq/DYJUomP74A kZLlnEgP/Dm8hZ+UkmMGaiQESinyVyL5bvel39uQDT/jm1kXf1jAOUjxxAp1YQB95P6w BrT/x2uEKycEkKt+zmcomrKkFx/Rv7w1Ct8p5EbHSMDX3Gbgv+/wfhbuS22ObyAvr5DR dx/sHCU1MP1SZUoXGBdaG5Eu3e4ZUk5XdVzDjm1kh/+oV7QajgJDfWs8RfSv7QucWofs +tzA== X-Gm-Message-State: ANoB5plpH2ysAF0nPYw/0d0iE51HP4flnQfF4Srnvq6gjbGDdUsLI7hv S4CJVnzG+o3GMk10gfgS0EQ= X-Received: by 2002:a05:600c:19d1:b0:3cf:ca1a:332a with SMTP id u17-20020a05600c19d100b003cfca1a332amr1538043wmq.118.1668591625860; Wed, 16 Nov 2022 01:40:25 -0800 (PST) Received: from felia.fritz.box (200116b826c55000c59461cca0b9a159.dip.versatel-1u1.de. [2001:16b8:26c5:5000:c594:61cc:a0b9:a159]) by smtp.gmail.com with ESMTPSA id l13-20020a5d674d000000b0022e3538d305sm17223547wrw.117.2022.11.16.01.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 01:40:25 -0800 (PST) From: Lukas Bulwahn <lukas.bulwahn@gmail.com> To: Shawn Tu <shawnx.tu@intel.com>, Jason Chen <jason.z.chen@intel.com>, Sakari Ailus <sakari.ailus@linux.intel.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, linux-media@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn <lukas.bulwahn@gmail.com> Subject: [PATCH] media: i2c: refer to config VIDEO_DEV to make ov08x40 image sensor driver usable Date: Wed, 16 Nov 2022 10:40:06 +0100 Message-Id: <20221116094006.16054-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749645259893078838?= X-GMAIL-MSGID: =?utf-8?q?1749645259893078838?= |
Series |
media: i2c: refer to config VIDEO_DEV to make ov08x40 image sensor driver usable
|
|
Commit Message
Lukas Bulwahn
Nov. 16, 2022, 9:40 a.m. UTC
Commit 9958d30f38b9 ("media: Kconfig: cleanup VIDEO_DEV dependencies")
removes the config VIDEO_V4L2 as it is merged with config VIDEO_DEV.
Long after this change, commit 38fc5136ac16 ("media: i2c: Add ov08x40 image
sensor driver") introduces and refers to the removed config VIDEO_V4L2,
basically making this driver impossible to build, test and use due to
dependencies that cannot be met.
Refer to config VIDEO_DEV instead to make this driver usable.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
drivers/media/i2c/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Quoting Lukas Bulwahn (2022-11-16 09:40:06) > Commit 9958d30f38b9 ("media: Kconfig: cleanup VIDEO_DEV dependencies") > removes the config VIDEO_V4L2 as it is merged with config VIDEO_DEV. > > Long after this change, commit 38fc5136ac16 ("media: i2c: Add ov08x40 image > sensor driver") introduces and refers to the removed config VIDEO_V4L2, > basically making this driver impossible to build, test and use due to > dependencies that cannot be met. > > Refer to config VIDEO_DEV instead to make this driver usable. Fixes: 38fc5136ac16 ("media: i2c: Add ov08x40 image sensor driver") Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> > --- > drivers/media/i2c/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig > index 49c1c27afdc1..4a4ae9c20119 100644 > --- a/drivers/media/i2c/Kconfig > +++ b/drivers/media/i2c/Kconfig > @@ -366,7 +366,7 @@ config VIDEO_OV08D10 > > config VIDEO_OV08X40 > tristate "OmniVision OV08X40 sensor support" > - depends on VIDEO_V4L2 && I2C > + depends on VIDEO_DEV && I2C > select MEDIA_CONTROLLER > select VIDEO_V4L2_SUBDEV_API > select V4L2_FWNODE > -- > 2.17.1 >
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 49c1c27afdc1..4a4ae9c20119 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -366,7 +366,7 @@ config VIDEO_OV08D10 config VIDEO_OV08X40 tristate "OmniVision OV08X40 sensor support" - depends on VIDEO_V4L2 && I2C + depends on VIDEO_DEV && I2C select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API select V4L2_FWNODE