Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4596893pxj; Wed, 12 May 2021 08:57:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvc8Rx6JXzftXxl8G2piySygINazbwbDWJqwetttQSLHwi5aGTbzsU6r5ubqysEoIo/Ueh X-Received: by 2002:aa7:cd8b:: with SMTP id x11mr44509326edv.87.1620835028510; Wed, 12 May 2021 08:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620835028; cv=none; d=google.com; s=arc-20160816; b=kLYPJnNUezyv81WwoERhKKylvRjzqQmAZZTs1/b45mvYX+hBiDlx/hZNWVfISj7YBI V5l5Oc7OhTHF7as7JA9eVk472I3EwTHb2Qsy5WZglrChDD6AePaGRCY0+KsPNZJ/2eaj 8Tp4xVh11mwdpIYCJTLok/RTTur1ov595tdzCUuIBCuQ4oip1RUjRThWZ1rJazVMzjWl f/kUvwPa38gC8iYtAFI1zzAfxDdHtojPb3VpBmy6Uy694xhMf+gfXUbog4ZSxOarssnr DhUb40zM+0S+owYckW9WVAgYNNdv3mwhY42sY3Rei041401X2kXRfTyuymhw+Dm+/8GQ MmhQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Xk91Z3+TAGUOv0WeLj/6Fg6/DZVQblDvNMxEk3ZHY1I=; b=LMRrIKtc+O2ZBWxFqLOvSRFEtPVOt5cr7+sc7DZVHKsIwVrQTr/gp4QmCEQVNTBgco 9vWxv1Qd/2dJUgLNC4RqkAxOGsaDvsOMLhKuozNWEb7MnrVcsMAv8htLmCdNYjr2/UA+ 3T0P3t8SDkl/EScy1u9vnR3UxrXnarrKoZ4YvV5mln2lhbtr7HVnYGXlFPo4QsWUQ1P4 ++nR22AfX3IOmPr1h/m1tFSOukD0QE3wYBxmQnZ7okNhkBhnSsxjKQWr9SKm5Ys2hFUr bOA1GSsWvaz7HSVGErNeTOxgYY3pfl0wUClfIl1pyd6I9gav/4Ayld62Erx/HyjWoFj+ 2UBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=i2yseP6K; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si1038edx.325.2021.05.12.08.56.38; Wed, 12 May 2021 08:57:08 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=i2yseP6K; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234848AbhELPxc (ORCPT + 99 others); Wed, 12 May 2021 11:53:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:40990 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234918AbhELPZz (ORCPT ); Wed, 12 May 2021 11:25:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A8EAC61430; Wed, 12 May 2021 15:10:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832259; bh=NGRHA6cOyGs2KltjPlMjELlvqO1UZN+5uUaL787Y0i8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i2yseP6KZm3a1sstiL585LgBkxwqX8OYksyEC84/6X5wYeYvlP055T7UR3Ktl9Que X4IcAl76xuzVFWagZMjBrFO9vc115i+OnGgSVuQsziC/4yYCyhgzXqsC5WoH7MQthT pGaS/Lxaagfcq9/ocZHPUoviSRHyJph2ybxgvLJQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Alexandru Ardelean , Jonathan Cameron , Sasha Levin Subject: [PATCH 5.10 206/530] iio: adc: Kconfig: make AD9467 depend on ADI_AXI_ADC symbol Date: Wed, 12 May 2021 16:45:16 +0200 Message-Id: <20210512144826.613802369@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexandru Ardelean [ Upstream commit 194eafc9c1d49b53b59de9821fb63d423344cae3 ] Because a dependency on HAS_IOMEM and OF was added for the ADI AXI ADC driver, this makes the AD9467 driver have some build/dependency issues when OF is disabled (typically on ACPI archs like x86). This is because the selection of the AD9467 enforces the ADI_AXI_ADC symbol which is blocked by the OF (and potentially HAS_IOMEM) being disabled. To fix this, we make the AD9467 driver depend on the ADI_AXI_ADC symbol. The AD9467 driver cannot operate on it's own. It requires the ADI AXI ADC driver to stream data (or some similar IIO interface). So, the fix here is to make the AD9467 symbol depend on the ADI_AXI_ADC symbol. At some point this could become it's own subgroup of high-speed ADCs. Fixes: be24c65e9fa24 ("iio: adc: adi-axi-adc: add proper Kconfig dependencies") Reported-by: Randy Dunlap Signed-off-by: Alexandru Ardelean Acked-by: Randy Dunlap Link: https://lore.kernel.org/r/20210324182746.9337-1-aardelean@deviqon.com Signed-off-by: Jonathan Cameron Signed-off-by: Sasha Levin --- drivers/iio/adc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 86fda6182543..e39b679126a2 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -249,7 +249,7 @@ config AD799X config AD9467 tristate "Analog Devices AD9467 High Speed ADC driver" depends on SPI - select ADI_AXI_ADC + depends on ADI_AXI_ADC help Say yes here to build support for Analog Devices: * AD9467 16-Bit, 200 MSPS/250 MSPS Analog-to-Digital Converter -- 2.30.2