Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp726461pxb; Tue, 2 Feb 2021 16:50:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyB3yxn5MNzYJBUNPx1V4yj7X9DaVOyfS2hs3Z+ODMcEr/MiK0gdkTRU6IuJp3KjG7PopvJ X-Received: by 2002:a17:907:35d1:: with SMTP id ap17mr646989ejc.79.1612313434656; Tue, 02 Feb 2021 16:50:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612313434; cv=none; d=google.com; s=arc-20160816; b=ozrWe2poviBjw642PYuYn5DVPIiRzkh243O28LOUK7tpdYIdxIL7zpZx4Pww8YDMEe DhwyrbLSH7wTRs4yOjYp+s4Znisn+4Q34XgFWhcNxh7UydI4+unn04Pj1c81PEQ7lmGk MSVxJwZWpXyT6B9XF9KCuhg3jskcvYLOrmhGdhLWFowaWahh3nnWcP5m0mQJ0HE/IiQO gvuJ5Da+sncmein4dZ/wx3eE5l0kPldbERTg5l8yy2ERWKT1sN0Sb5cdoProk3ucdg4F gPI2dJ9dQyslhimCABrhxTXrKQ4M5gzQr49e9hjBPl6V2J0f3WsKxKHVRF6KlYuCgjtv zNUw== 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:from:references :cc:to:subject:dkim-signature; bh=4PFyUqlONvTFczA/ru8USrCCxtLyJRVmXtgqRn7jk0Q=; b=LhMg1jxqyXF/cflyMFE0tQXaLe/uY5Vw37l9FdVIHm/V09edvFkswQlpT8lTdRwgYT b9gqGXT8qimGDCH5141YGJ5TOkQGepMQaVp+p3AQTwZR2NJFBE3VEehnFY5nm2OK1/wm uaqjml/5kNaP4kWM+PphbTPXLE2Vk9L8g2onWA37jpZzee12ZE2GfuQAqE2sTo5Y05DI AcdwfozEXuF6LM8Uf22sDBYIqSbi2/zG7dH1HaqmsnlzcMylzdtLveJZb9+7ctk4OncP oFgbpvNJjy4i+00WxsX8W10G3LRducA40bh5sc3Q83MLCJ+HxF9H/q07XwjpL4l2HRwM e81A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=cA2l8yWF; 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 jx12si302511ejb.247.2021.02.02.16.50.10; Tue, 02 Feb 2021 16:50:34 -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 header.i=@infradead.org header.s=merlin.20170209 header.b=cA2l8yWF; 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 S232992AbhBBU2B (ORCPT + 99 others); Tue, 2 Feb 2021 15:28:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233369AbhBBU0d (ORCPT ); Tue, 2 Feb 2021 15:26:33 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BAF9C061788; Tue, 2 Feb 2021 12:25:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=4PFyUqlONvTFczA/ru8USrCCxtLyJRVmXtgqRn7jk0Q=; b=cA2l8yWFP7TqGbGYHST/vX4jJ4 oU/wOCIbjwkQGnFDnNccnYiLD2ycDgnh2uHbNGnb2vX6eedToXdzbjBeQWyVYuubytSu/jleYmrBP LeXVIZnAIVn18r9JviHYmiGrSH141NbC1BhGdyQbc/fu6GtLirjoDAwWjaKrJ2P/MtrUndjTaWp/x DH0+Etj6LuEbB2CvQjYdS0WqOheaBw80sYJL7XnAvShkCy5brdsjrRQ82MF7onQgGKdBa+r/j+Kkg uDkR4af74ZyqvpKJ6rwPBgRxrnY4MjK1hAWIVp3CYVjy/bBuOBX8JgmlvytYxFmsEjvcjeMKdvdUe FIT1kAlg==; Received: from [2601:1c0:6280:3f0::2a53] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1l72EN-0007eY-2V; Tue, 02 Feb 2021 20:24:59 +0000 Subject: Re: [PATCH 1/1] ipu3-cio2: Build bridge only if ACPI is enabled To: Sakari Ailus Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-media , Dan Scally , Bingbu Cao , Yong Zhi References: <20210202201440.10613-1-sakari.ailus@linux.intel.com> From: Randy Dunlap Message-ID: <070d3585-e21c-0bef-3740-d38fcd106f25@infradead.org> Date: Tue, 2 Feb 2021 12:24:54 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20210202201440.10613-1-sakari.ailus@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/2/21 12:14 PM, Sakari Ailus wrote: > ipu3-cio2-bridge uses several features of the ACPI framework that have no > meaningful replacement when ACPI is disabled. Instead of adding #ifdefs to > the affected places, only build the bridge code if CONFIG_ACPI is enabled. > > Fixes: 803abec64ef9 ("media: ipu3-cio2: Add cio2-bridge to ipu3-cio2 driver") > Signed-off-by: Sakari Ailus Reported-by: Randy Dunlap Acked-by: Randy Dunlap # build-tested Thanks. > --- > Hi Randy, > > Thanks for reporting this. > > This patch should address the problem. > > drivers/media/pci/intel/ipu3/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/media/pci/intel/ipu3/Kconfig b/drivers/media/pci/intel/ipu3/Kconfig > index 24f4e79fe0cb..dce8274c81e6 100644 > --- a/drivers/media/pci/intel/ipu3/Kconfig > +++ b/drivers/media/pci/intel/ipu3/Kconfig > @@ -20,7 +20,7 @@ config VIDEO_IPU3_CIO2 > > config CIO2_BRIDGE > bool "IPU3 CIO2 Sensors Bridge" > - depends on VIDEO_IPU3_CIO2 > + depends on VIDEO_IPU3_CIO2 && ACPI > help > This extension provides an API for the ipu3-cio2 driver to create > connections to cameras that are hidden in the SSDB buffer in ACPI. > -- ~Randy