Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp631119rwb; Wed, 16 Nov 2022 05:47:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf4KCdxc1h3+AH36/DuQFjrCz5K1q1+TyAuxLcCuCZ9mi4uoQvPAw/7VrjwTmT3QjmNLbJNy X-Received: by 2002:aa7:d88d:0:b0:461:b4e2:904d with SMTP id u13-20020aa7d88d000000b00461b4e2904dmr19123062edq.216.1668606467589; Wed, 16 Nov 2022 05:47:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668606467; cv=none; d=google.com; s=arc-20160816; b=c3OhlFTGE7IFUjznECKrDmOoFrGNf9loa1ZtKPhmhcLImu8ujG/cRKbtOEuCcWy4io xk1OoRdNIqnaf+/hEwrrDwTdenoH7zUb921agdUWUvuPM3Gc5Z07Ypjg/iVpZ/hVOSWF heH6CQi0SESSuIWjckJWkewaaqSMkUlv7k7Q3ukk2duf7sStIAOGGAe12gi1pBV0Z9OK SBH6oG+sQoUeegKegjHF+v9yIrvusNbZgPpazPqTZEVH9sMn3TOZAenc2TykKKAtfXdj 4FvuZRAMAh+EeSNkY+qGigKkjHW/atiC0MGk68+bFW9w5q6x62PIF7GGSPXhYCXtQbSD yOEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=r7fKnQOoMYk7JOuGyxB9TyZkyUTza/4GT+/K82Vyp8g=; b=QEuvppCeGrEIGP3U/9uviJLu7t6GuatAWvsb6i4wEaJ9WRrhA496FGePpFgXefhIFt qqNywkB55pbIPgCyWosgcLf0md7fg6+Ho+V2lHyN1cqo4r3ycatr5dIHH801LtCdOYa/ iDTYu3catuKBVFOD0VMSWAMJPQGyCb3bzyxNPg9AbWKEmUM+j6YyGMfWE8vHXePOhZqs 85G15LCsASD5zBbWP6ovCc+k/4zFIoPElIl1Js99rLP8DELyYEpdZBp6oQzDWOxjDWQS wtchkYxhM8cEtRbFPWmWsYQoxjN2w7oUf+vl8Ri3nhQ+VASpTQCx/NK5ToDMyV2htVd+ TtGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=CMucZLEk; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a056402524400b0045a16f47a9fsi7138531edd.624.2022.11.16.05.47.24; Wed, 16 Nov 2022 05:47:47 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=CMucZLEk; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233861AbiKPNfh (ORCPT + 91 others); Wed, 16 Nov 2022 08:35:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238294AbiKPNf2 (ORCPT ); Wed, 16 Nov 2022 08:35:28 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18B8D3F07E; Wed, 16 Nov 2022 05:35:16 -0800 (PST) Received: from pendragon.ideasonboard.com (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C274749C; Wed, 16 Nov 2022 14:35:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668605714; bh=Sys0rARy8J8jP/a46/LNXBCNgBu8UjwvelC2PQ7N1z4=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=CMucZLEkB7PjzR3s2w/0Moz6WaXvsCfSbDbnEMYdJDs6B1RpB+vqWMFWPhPodBAU7 naMnG1Bpkpr4F7ZbK3KSP9zv/uIs5Ei3cOxQUw8IyN/sIAb39HxtIxUlZI/Adn1rUC zO3IzpQLHz00jaelSiu/Xe/clZXSdilgXTfvJ+pE= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20221116094006.16054-1-lukas.bulwahn@gmail.com> References: <20221116094006.16054-1-lukas.bulwahn@gmail.com> Subject: Re: [PATCH] media: i2c: refer to config VIDEO_DEV to make ov08x40 image sensor driver usable From: Kieran Bingham Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn To: Jason Chen , Lukas Bulwahn , Mauro Carvalho Chehab , Sakari Ailus , Shawn Tu , linux-media@vger.kernel.org Date: Wed, 16 Nov 2022 13:35:12 +0000 Message-ID: <166860571228.50677.2036444260575403904@Monstersaurus> User-Agent: alot/0.10 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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: X-Mailing-List: linux-kernel@vger.kernel.org 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. >=20 > Long after this change, commit 38fc5136ac16 ("media: i2c: Add ov08x40 ima= ge > 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. >=20 > Refer to config VIDEO_DEV instead to make this driver usable. Fixes: 38fc5136ac16 ("media: i2c: Add ov08x40 image sensor driver") Reviewed-by: Kieran Bingham > Signed-off-by: Lukas Bulwahn > --- > drivers/media/i2c/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 > =20 > 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 > --=20 > 2.17.1 >