Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp472095rdh; Wed, 14 Feb 2024 02:26:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWcrds1vuSEaPZ3rjSG6ROX75zaNtTvVwolmWxiPqUjy+A7Q6JSSnUoMBl6TDaS/e2C/d2h3bsgOtcvNz9DjdRUMAqKFHFf0EBrI5TprQ== X-Google-Smtp-Source: AGHT+IEuLpjjaD5nY3COMMmN4GeDGsJPPelrK+FksZGU0DZZQhCeiIm+vTJqOND5oIz9zefjASov X-Received: by 2002:a17:906:2516:b0:a3d:1ab:1d58 with SMTP id i22-20020a170906251600b00a3d01ab1d58mr1586056ejb.17.1707906361732; Wed, 14 Feb 2024 02:26:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707906361; cv=pass; d=google.com; s=arc-20160816; b=ub/aYFJZNf9Gc5rp7h5BKg6OWzxYbYfsB0ym2lKrGMHqw3alrDLPLb1/RlXEUHJ6V/ QDdJNsx4Q62xy+4n3G1XP8/MfUXnI5+ym3xP6gyqK4YH94hjeLjnF+X3ePK+3JEB5HlX OpDTds8d44qNmKkTaRQaHSNDRFU7UtHJJSJjDUkcmZ60YZT5ydVZ3+RLan+VOtGRAET9 KfhffmQ6/BBSf4hpEshXIoDyO555Q3E5WTMgWejAbqfupc7B43yLG17hZVSAsSQOo0M3 ujZi5bROJGKfRJZKA9JsS5VplVyZhZX0I7chN9jaPRkgQPNIUEWw0f9TjoIlW4xLJ9pf q+yQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=qukQT2y5DCWp0g9CQSQGGnsa00nA/LNKpHUqzQ2qy2o=; fh=00p7OKd2eSU39UJv8/kKfGYIWHyD/NSmBxTjy8qXTo8=; b=d0AmKH7Pv3C/9F6kJYz4rjNuu0mt5KkN8o/MCNEBM/8v31zfr9AXwtyMbwwPECvn8t sp9aAdpMedYVdPLXrMyJzd6i8uGvAWtcDg3HBZFb6haS2k1RsSBpajFRUHGJCt36ZbMR WfW14iC+MwCToAj50t64hyO67BNcng/xkRLZx/KrEnpXfFlvxjeMko4blccmtIP6+294 IqUXViEfj6XR6YqV8Db6koK5+2TliW6h29OZvhkDhxcRCzeEvW3hVOEV6QaIFaYQ9bmp JdmMFilQdrJUXq/lB8J14Y85DRpD9pjpSLT4rILnbA8AzO91U8w/0XXpt926G4mrxe37 4XsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-65046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65046-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl X-Forwarded-Encrypted: i=2; AJvYcCUy3e0ck16GJvflZSihUNFnx4g1Flp983N35/HrApQorBxiouASzi+arGbXHjk7VPb33MppnGvataLcXSueo9xCM3fb4QjEyC465+DdWQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id sh34-20020a1709076ea200b00a3d19f5c609si1164425ejc.114.2024.02.14.02.26.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 02:26:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-65046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65046-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 76F691F2AB82 for ; Wed, 14 Feb 2024 10:26:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BF821759F; Wed, 14 Feb 2024 10:24:45 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91B5317552; Wed, 14 Feb 2024 10:24:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707906284; cv=none; b=X0p13Q0O50BRsA4NnkbumW3H38mrD36ADVV0yB2SnHf3BokNndb7CettSoMaTrLzMagL1mAi62iIVo54MUrFbkTbEGNlH1Pw9ZiWw2IpFgtT9qzTc5G06C7Xl7N0UEUtYrCKyeZ/sG96YDs9+urUgy0i919wgqF1kgOWkZvZDGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707906284; c=relaxed/simple; bh=L/qyyXzgC6hYYYA38GAe52ZNx6yR11HINzKT0BfZ7dc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hrVD9XHSD6oB5s3auWuv4fEQcjST6He3HxW3k5lw1Vz506JBfJEunUFe16lo3iO9uZb6S1wtnl4W44sMHlK1lUG2y5HFtzi9iUBBLbEkhk2uyrU6rMTsHkopsiI3oHFBDZxZlYiX1uhvbVxRDokLUhvylXN/zPsxK2NJR2YXWQY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E62E3C433F1; Wed, 14 Feb 2024 10:24:42 +0000 (UTC) Message-ID: <24cbf7b2-a091-440e-92cc-5c9828d52260@xs4all.nl> Date: Wed, 14 Feb 2024 11:24:41 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] media: v4l: marvell: select CONFIG_V4L2_ASYNC where needed Content-Language: en-US, nl To: Arnd Bergmann , Sakari Ailus Cc: Arnd Bergmann , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab References: <20240213095555.454392-1-arnd@kernel.org> From: Hans Verkuil In-Reply-To: <20240213095555.454392-1-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Arnd, Sakari, Is this something that needs to go to v6.8? Or just v6.9? Do we need a Fixes tag? Regards, Hans On 13/02/2024 10:55, Arnd Bergmann wrote: > From: Arnd Bergmann > > Drivers that call v4l2_async_nf_init() need to select the corresponding > Kconfig symbol: > > ERROR: modpost: "v4l2_async_nf_init" [drivers/media/platform/marvell/cafe_ccic.ko] undefined! > ERROR: modpost: "__v4l2_async_nf_add_i2c" [drivers/media/platform/marvell/cafe_ccic.ko] undefined! > ERROR: modpost: "v4l2_async_nf_unregister" [drivers/media/platform/marvell/mcam-core.ko] undefined! > ERROR: modpost: "v4l2_async_nf_init" [drivers/media/platform/marvell/mmp_camera.ko] undefined! > ERROR: modpost: "__v4l2_async_nf_add_fwnode_remote" [drivers/media/platform/marvell/mmp_camera.ko] undefined! > > I checked all v4l2 drivers to see if anything else has the same > bug, but these two appear to be the only ones. > > Signed-off-by: Arnd Bergmann > --- > drivers/media/platform/marvell/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/media/platform/marvell/Kconfig b/drivers/media/platform/marvell/Kconfig > index d6499ffe30e8..d31f4730f2a3 100644 > --- a/drivers/media/platform/marvell/Kconfig > +++ b/drivers/media/platform/marvell/Kconfig > @@ -7,6 +7,7 @@ config VIDEO_CAFE_CCIC > depends on V4L_PLATFORM_DRIVERS > depends on PCI && I2C && VIDEO_DEV > depends on COMMON_CLK > + select V4L2_ASYNC > select VIDEO_OV7670 if MEDIA_SUBDRV_AUTOSELECT && VIDEO_CAMERA_SENSOR > select VIDEOBUF2_VMALLOC > select VIDEOBUF2_DMA_CONTIG > @@ -24,6 +25,7 @@ config VIDEO_MMP_CAMERA > depends on COMMON_CLK > select VIDEO_OV7670 if MEDIA_SUBDRV_AUTOSELECT && VIDEO_CAMERA_SENSOR > select I2C_GPIO > + select V4L2_ASYNC > select VIDEOBUF2_VMALLOC > select VIDEOBUF2_DMA_CONTIG > select VIDEOBUF2_DMA_SG