Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp554970pxb; Wed, 20 Jan 2021 14:02:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyI9WEdMLQ2wlOQWFZp3kEBHi/KIJWnZGZHpcHfiV49GS4NWahLwCBzvjF7SatyY/qWQ1i1 X-Received: by 2002:aa7:c2ce:: with SMTP id m14mr3434655edp.76.1611180161778; Wed, 20 Jan 2021 14:02:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611180161; cv=none; d=google.com; s=arc-20160816; b=cm7tZ1kljViBAu0V4opHEJtg7e1Ln+pe5BqKP0jAszzaRO8HaD5cPP/VjSzBAFlNIZ JdE+VdsdWF8S2KCuqrlTTqPA3/O+H/MuYadMgJLsfCL0digjg0fNtyxqk+1ZFypFjxOw hIcFfhPjgqkMf52m/5E9OddgbcJEsubhygEut17fiP8yAzbbPDFbprLQ53w1wgdB/YaV rD3ONy+wagg+QqBEcyh5JiipmFAlETqvtVnZy3v1LfcaREfMMHWX9tzNC8QU39eVUTHQ 66HF1FYTFvj4AbMdJT60VRid9uiJjyMNI6n/euVcPWXuirapAyJM8An6bUSgWJigX/4u WHlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:reply-to:references:cc:to:subject:dkim-signature; bh=/AyUJrkOHIfqTgayS4TcriIzYgFVE0St5ZPEXumjoWw=; b=yxKQUQZI86ZCEs2esEu/IYEM+pvGiaPa2w4P5fKeTXBwQpASxL/ZpSqZqCynzjHyqi HZby2o+DdvKarfSE4M2jhB55TM0NqYG1PECYXv+2DvjKsLFnLsTDHFYOXiLxIVeC2d0S J0rOse2h/nPktIzCkAmQ0nHCycNVOA2HDaroV7TCwN7no5vPOfhXEQ679YE/8RlhwOLH yk9XbwA1yy7P7UQe8pdn339EBPQ3iVnAY5hqcfiDWsj1ddhlsT3AsUZPVuH/+/t9M53g INPKaBwLzIlPlyAvbyETI+Yksa3f1EvBNJ5blOyKJtacV5lccEb4/ehx6deNmMp3fRVg ewFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=cerHDvXd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gq19si1017793ejb.623.2021.01.20.14.02.18; Wed, 20 Jan 2021 14:02:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=cerHDvXd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727310AbhATLdW (ORCPT + 99 others); Wed, 20 Jan 2021 06:33:22 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:39052 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732248AbhATKR6 (ORCPT ); Wed, 20 Jan 2021 05:17:58 -0500 Received: from [192.168.0.20] (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 817EE813; Wed, 20 Jan 2021 11:17:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1611137836; bh=9LS1tzVULivXbxvsb4fOqaJBauUFKNy4KU9N+8aTcpo=; h=Subject:To:Cc:References:Reply-To:From:Date:In-Reply-To:From; b=cerHDvXdwMHMWqmvTHi+HwigwJqHXAIq2h/BlCbCQDg85zA6AdSOnF4T24kUMvaNB 4aQbtgMbJr9f4NqfdWTCo5iS9/tkWynjddiGFpSe682QaRKuVjYRmlPWK1r8cYg1YY JD1EI5xmeh4IqeREbcQMTx18ZK7S1BCSYTYBUVaM= Subject: Re: [PATCH] media: i2c/Kconfig: Select FWNODE for OV772x sensor To: Lad Prabhakar , Sakari Ailus , Mauro Carvalho Chehab , Laurent Pinchart , Jacopo Mondi , linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Biju Das , Prabhakar References: <20210120090148.30598-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Reply-To: kieran.bingham+renesas@ideasonboard.com From: Kieran Bingham Organization: Ideas on Board Message-ID: Date: Wed, 20 Jan 2021 10:17:14 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210120090148.30598-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lad, On 20/01/2021 09:01, Lad Prabhakar wrote: > Fix OV772x build breakage by selecting V4L2_FWNODE config: > > ia64-linux-ld: drivers/media/i2c/ov772x.o: in function `ov772x_probe': > ov772x.c:(.text+0x1ee2): undefined reference to `v4l2_fwnode_endpoint_alloc_parse' > ia64-linux-ld: ov772x.c:(.text+0x1f12): undefined reference to `v4l2_fwnode_endpoint_free' > ia64-linux-ld: ov772x.c:(.text+0x2212): undefined reference to `v4l2_fwnode_endpoint_alloc_parse' > > Fixes: 8a10b4e3601e ("media: i2c: ov772x: Parse endpoint properties") > Reported-by: kernel test robot > Signed-off-by: Lad Prabhakar I see this driver uses subdev API too. Should the driver also select VIDEO_V4L2_SUBDEV_API? Or is that covered sufficiently already on any platforms that would use the driver? Reviewed-by: Kieran Bingham > --- > drivers/media/i2c/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig > index eddb10220953..bb1b5a340431 100644 > --- a/drivers/media/i2c/Kconfig > +++ b/drivers/media/i2c/Kconfig > @@ -1013,6 +1013,7 @@ config VIDEO_OV772X > tristate "OmniVision OV772x sensor support" > depends on I2C && VIDEO_V4L2 > select REGMAP_SCCB > + select V4L2_FWNODE > help > This is a Video4Linux2 sensor driver for the OmniVision > OV772x camera. >