Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4123699pxu; Mon, 30 Nov 2020 18:39:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzylleR63SKAaIJjGeOHqiarQ5jjKb6YseWA33EhkSkV+oK3mF+aoVbRLmnF1pOw+WhWDxa X-Received: by 2002:aa7:dacf:: with SMTP id x15mr299575eds.134.1606790372325; Mon, 30 Nov 2020 18:39:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606790372; cv=none; d=google.com; s=arc-20160816; b=BUo1xznBKW44s/3Lmx+dCNmpqPqf3ubQn4V4Aimkq2zuXk72UlDtvAKctWHvOR7d0t tr+/Nh+VFffho+Cp4vO57x3dL16A6ZE5chK7fzFt1mu2Ksxuw3fwuIIaiOG2KcgbeY84 28jjC4qcgAEdrMpL4jLxdu3NHMC3dWyHHNznZy+9mShlvFvYcSXZz31ZpO+2iKt/b8P7 Kxo8cp65gKam5BzfbTPkNof9bTZj21vnLx0SMgy9YdPsTzeOItEVp/9/xlahWi/pMSyu QgHY/W8L0A/Ye/uD5AFvpmGin6C+5w4UjG+0TwtFTEIp/9sRB8CqT7QcWIVSbinZcVpO xKRw== 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=2AhoweuvQB6ujz5Hs4z8sLWiil4fI5wUBLPXst/1zNY=; b=Fy8SEYeaOZgtmxD2IjX6zYPYh7q+7wWmS8hQ4/dYt9kzNGU3BqxxIJxeK83Tg18eEU gm2X3x9A+Zpm1kcN2njDJUXSr+w+dp8lPh/OU0naXUfCuqfJkOkAOyIlxWR2DUz6mrKT BOJcJTc5thuSD3/sfu/c00M1Mf3j05jesmCfBYbwa9LUJP5Z80tid4qnMEZU/n2l6zQK ehL3xq7thunOocrhbl4i37d3NfZCyVAjqy00hWuTiaGw5dTxCxlsCGlh9RbDkqCqyK/M 8/saJZCohlP3DOii2zc0y0aYB7ib2bVdMZwsQNyj+5IYzJF2KUov7k8fsmKQFI2Z3eck iSfg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si244358edj.146.2020.11.30.18.39.10; Mon, 30 Nov 2020 18:39:32 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387413AbgK3V5L (ORCPT + 99 others); Mon, 30 Nov 2020 16:57:11 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:36561 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728372AbgK3V5L (ORCPT ); Mon, 30 Nov 2020 16:57:11 -0500 X-Originating-IP: 86.194.74.19 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 1F57F1BF206; Mon, 30 Nov 2020 21:56:28 +0000 (UTC) From: Alexandre Belloni To: Mark Brown Cc: Liam Girdwood , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH] ASoC: adau1372: add missing dependencies Date: Mon, 30 Nov 2020 22:56:26 +0100 Message-Id: <20201130215626.2400999-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SND_SOC_ADAU1372_I2C and SND_SOC_ADAU1372_SPI prpoerly select the REGMAP config they need but forget to depend on the underlying bus. Signed-off-by: Alexandre Belloni --- sound/soc/codecs/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index a457300f95da..625f762903ea 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -371,11 +371,13 @@ config SND_SOC_ADAU1372 config SND_SOC_ADAU1372_I2C tristate "Analog Devices ADAU1372 CODEC (I2C)" + depends on I2C select SND_SOC_ADAU1372 select REGMAP_I2C config SND_SOC_ADAU1372_SPI tristate "Analog Devices ADAU1372 CODEC (SPI)" + depends on SPI select SND_SOC_ADAU1372 select REGMAP_SPI -- 2.28.0