Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp726405pxb; Tue, 2 Feb 2021 16:50:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJznNGajgql+mYqiw9VQxBnpEb6G7aw6P3h33fXPAsNO5LHJqIhD1FCgVwkXfsU3vgut9fgU X-Received: by 2002:a17:906:b055:: with SMTP id bj21mr616990ejb.355.1612313428557; Tue, 02 Feb 2021 16:50:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612313428; cv=none; d=google.com; s=arc-20160816; b=NDiN/BIh5+k7U0XmTQusoSU4gPWSGQ/smNgVQVeOOiLbi+5c79RNo/SEqBz3tJPNEd FhPXvNs9wizxo4kMNitPGcA/6SHkPV3AURGIvkDycui1tvp5FgpMG5WqEFFnzu3sXCkN o62QBtTMdENCkMsvIRyxkPo9CxWd00kWmQzi6m7VCpBzRI5olmVvTkCrurN4XDcFih3j HDEbOM4blzIv3nSg2hQch5K+kDdoWiBArLsSBuPksb4qIiswRR2G/xf1AvQhh1h8Ue7S RVBvbm/fgLFPRw32O074f6+Wyx0rHUWyIykjRRwHnNfn1Ts7/sC0tOpKqSmvWQMPB0Zf qeow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=AWGMabPLZ1onQlzX6BwrRW89V8+NRmISK9VNdh6CZDM=; b=sDB3C7sBY0vHMzB72rcfF7svUNWqvQ9VRsE0QEjvVVSeNTaT4oCI5swAmMqroAQU2A rdr5E7RW4wmNPjtZVouNTtwxs6JXpv7FN/JIt2MNJaXfNDxgGWZ9N6DNrr3tNWTc6b3F e91H5mIKE6qX2EM1euX1mJ5aCOCwoRoLQRnVcWfub6lBt6YRGk9qb/Kk5lN9BjmpV468 ErWvAC/IhFpvbZcO/XRIj338TMgq0lZI7ISRD7vGv1TCx7N4Z6r7OC4g4QJgnvDcipS0 dA3+kwQCbGo0kffbRSncrS1+1iNVAemKyWuLHeft+QJeJ35kC2FCaID5yu2nJO/4Y/+v TJsg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u8si227152edj.434.2021.02.02.16.50.04; Tue, 02 Feb 2021 16:50:28 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231499AbhBBURi (ORCPT + 99 others); Tue, 2 Feb 2021 15:17:38 -0500 Received: from retiisi.eu ([95.216.213.190]:49876 "EHLO hillosipuli.retiisi.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232682AbhBBUQb (ORCPT ); Tue, 2 Feb 2021 15:16:31 -0500 Received: from lanttu.localdomain (lanttu-e.localdomain [192.168.1.64]) by hillosipuli.retiisi.eu (Postfix) with ESMTP id 78215634C8D; Tue, 2 Feb 2021 22:14:36 +0200 (EET) From: Sakari Ailus To: Randy Dunlap Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-media , Dan Scally , Bingbu Cao , Yong Zhi Subject: [PATCH 1/1] ipu3-cio2: Build bridge only if ACPI is enabled Date: Tue, 2 Feb 2021 22:14:40 +0200 Message-Id: <20210202201440.10613-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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. -- 2.29.2