Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3567538ybz; Mon, 20 Apr 2020 05:28:12 -0700 (PDT) X-Google-Smtp-Source: APiQypK5T6+N5wzBCiplR7XZosI/FQ0h0n9UmPEw1FdEXOFOHme0wZBRSJPhuscW5l9A+ShSPXYx X-Received: by 2002:a17:906:5c43:: with SMTP id c3mr15486854ejr.3.1587385692674; Mon, 20 Apr 2020 05:28:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587385692; cv=none; d=google.com; s=arc-20160816; b=BOGlh1Wa8cRtZJq34Dn8+ALGXD3g2AzZstp0/Yqvzat/uTjQpk5fCMQv2S4Aw1sBBI 8iVi2xJjl6qK/1Klofm50Bv0ihk+3vbMjaEQQm4V87AcrlSEqnJuhgZcs+PvYYdW1kVR r9FD/U7xAa38o+WN9apXM5GX9mD/jsR/TMNOkhQXk/yHTZMZwbC4Zc4S98BFeVssjfHu yzKq8gOeRhZLuP4DWs9JErQKWldQKO/sVIVHwRg+L6i3SScTNIdZKYlvze6Q2phDMnHT +U1E7jhQ0ldAG/NzSm0dAStYfXGZ4Gyp+Sy3WTNPNUFnlht+uOluI7XBJt7/U4OV0VUY UIRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=bRDbt1wLRBzQbty40CUQfPxOOSeFGkhWB9JqJ44sWsk=; b=teHt567lPrFdD1tP8BGUjgQFinHE0p7Aspm6trewRqTq/CSf/I6s/EY1SFav2qaWi/ bNoymGOD+ZZlX0wR81NtpUhjxm27t45jNy8qC2r2UJhUnKhjv4wo/W7RiBmInPQv839P fe5ZJ38jQd8O/YWlGxBeWclpquoGa8NTghzkNOO43MyrMga2LNAOiYeuP1OSHA7RTf2K lA/qMcMn01Sp62caSeq5NlHIYHvSXT84MV5ch51hfrLETZrzcMKtSMC+DPyxvu1wame6 +ACBqoOkL5a+3R/g8SkYA23wbbXFLh1j/h0DmwdAdzbA/vAWX93GyCn6/fRiXnnR+zzn guvw== 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 g9si409628edm.113.2020.04.20.05.27.49; Mon, 20 Apr 2020 05:28:12 -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; 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 S1726745AbgDTM0b (ORCPT + 99 others); Mon, 20 Apr 2020 08:26:31 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:45142 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726372AbgDTM0b (ORCPT ); Mon, 20 Apr 2020 08:26:31 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 1234D41BD4D12F86F4A3; Mon, 20 Apr 2020 20:26:29 +0800 (CST) Received: from euler.huawei.com (10.175.104.193) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Mon, 20 Apr 2020 20:26:26 +0800 From: Wei Li To: , , , , , CC: , Subject: [PATCH 2/2] ASoC: Fix wrong dependency of da7210 and wm8983 Date: Tue, 21 Apr 2020 04:24:10 +0800 Message-ID: <20200420202410.47327-3-liwei391@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200420202410.47327-1-liwei391@huawei.com> References: <20200420202410.47327-1-liwei391@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.104.193] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As these two drivers support I2C and SPI, we should add the SND_SOC_I2C_AND_SPI dependency instead. Fixes: ce0c97f8a2936 ("ASoC: Fix SND_SOC_ALL_CODECS imply SPI fallout") Signed-off-by: Wei Li --- sound/soc/codecs/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index e60e0b6a689c..d0fec1b90256 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -717,7 +717,7 @@ config SND_SOC_L3 config SND_SOC_DA7210 tristate - depends on I2C + depends on SND_SOC_I2C_AND_SPI config SND_SOC_DA7213 tristate "Dialog DA7213 CODEC" @@ -1569,7 +1569,7 @@ config SND_SOC_WM8978 config SND_SOC_WM8983 tristate - depends on I2C + depends on SND_SOC_I2C_AND_SPI config SND_SOC_WM8985 tristate "Wolfson Microelectronics WM8985 and WM8758 codec driver" -- 2.17.1