Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3591063ybz; Mon, 20 Apr 2020 05:57:07 -0700 (PDT) X-Google-Smtp-Source: APiQypKOUe74QFsNszZrCsnb8tpBAgG0e7wjVsk4EDA9Y++Wij4FooNC+exB0002QlS68irQhOW4 X-Received: by 2002:a05:6402:75a:: with SMTP id p26mr6970336edy.311.1587387427514; Mon, 20 Apr 2020 05:57:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587387427; cv=none; d=google.com; s=arc-20160816; b=HBjxZKfzl1FBtYGvG1hMWPOeWaR2AgZaDRs5Hs3QVwHNtlgv2vH4zWsOLvH/OkZNgC meY48IaUmAYrIqdtqplmkUNKhDgHkeuR36fMoQ17+pcpWeNVw8mxAaExGIBGMnRQdLab fyTEpUsUxDopQj5g50S3+/RiL6BWP5sU9KXzklscIQy9Gt3d2gs0e5USUj/rSWLRvavG LMJK4g9vU5ArkM1RtGkAgYgTmZKHPvbT6HD8OYZpQavJa5N/dmqIE9RdX/z+LxFGFNO2 8AZjvvDN7iEEz4JcMSdkQHuVMNjZjgnWZBiUAzeT/ik9Cv2vsWNgsDQwo4jxdbGphYYa 94bg== 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=hmk1QWLODf463vUFY8VSMdtBBy/O4xBegh6pVuG66aM=; b=XemVkCw2woxyE6feWmWxIO730dfkbbftrB+1W/zKDa2POJCiGflKtEV5Wn/KhxlrgL P3baLlGX6QFUpTV5irtSm8qynA7uUP8fXvTzDBN4QEGewlX3Xow73gosASziEnJTn54g +LTCTCu85UmQgrn8I9nAtyLu8gn+TRumDju79Lm5cb1GD0t0qV7kuGsRx5zvy44Q8CVX IxkRvKQtgKOpbm9cCiO+vkmO4eFJT99sj1eRjn8aVNJUTa3lBjGJQaJYOCpvE4jFG8rf 7tHWZcG91KWxqIq0KaJHg8zzpg94KTz7RVywNEEBNH4Z6JA/tccjqcs3R8a3pvihIl50 iE1w== 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 cw6si460803edb.552.2020.04.20.05.56.44; Mon, 20 Apr 2020 05:57:07 -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 S1729709AbgDTMyp (ORCPT + 99 others); Mon, 20 Apr 2020 08:54:45 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2809 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729693AbgDTMyk (ORCPT ); Mon, 20 Apr 2020 08:54:40 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id DFF9BFC3FD05B4C312C1; Mon, 20 Apr 2020 20:54:30 +0800 (CST) Received: from localhost (10.166.215.154) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Mon, 20 Apr 2020 20:54:24 +0800 From: YueHaibing To: , , , , CC: , , , YueHaibing Subject: [PATCH] ASoC: wm89xx: Add missing dependency Date: Mon, 20 Apr 2020 20:53:43 +0800 Message-ID: <20200420125343.20920-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 In-Reply-To: <20200418090853.30340-1-yuehaibing@huawei.com> References: <20200418090853.30340-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.166.215.154] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sound/soc/codecs/wm8900.o: In function `wm8900_i2c_probe': wm8900.c:(.text+0xa36): undefined reference to `__devm_regmap_init_i2c' sound/soc/codecs/wm8900.o: In function `wm8900_modinit': wm8900.c:(.init.text+0xb): undefined reference to `i2c_register_driver' sound/soc/codecs/wm8900.o: In function `wm8900_exit': wm8900.c:(.exit.text+0x8): undefined reference to `i2c_del_driver' sound/soc/codecs/wm8988.o: In function `wm8988_i2c_probe': wm8988.c:(.text+0x857): undefined reference to `__devm_regmap_init_i2c' sound/soc/codecs/wm8988.o: In function `wm8988_modinit': wm8988.c:(.init.text+0xb): undefined reference to `i2c_register_driver' sound/soc/codecs/wm8988.o: In function `wm8988_exit': wm8988.c:(.exit.text+0x8): undefined reference to `i2c_del_driver' sound/soc/codecs/wm8995.o: In function `wm8995_i2c_probe': wm8995.c:(.text+0x1c4f): undefined reference to `__devm_regmap_init_i2c' sound/soc/codecs/wm8995.o: In function `wm8995_modinit': wm8995.c:(.init.text+0xb): undefined reference to `i2c_register_driver' sound/soc/codecs/wm8995.o: In function `wm8995_exit': wm8995.c:(.exit.text+0x8): undefined reference to `i2c_del_driver' Add SND_SOC_I2C_AND_SPI dependency to fix this. Reported-by: Hulk Robot Fixes: ea00d95200d02ece ("ASoC: Use imply for SND_SOC_ALL_CODECS") Signed-off-by: YueHaibing --- sound/soc/codecs/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index e6a0c5d05fa5..e60e0b6a689c 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -1525,6 +1525,7 @@ config SND_SOC_WM8804_SPI config SND_SOC_WM8900 tristate + depends on SND_SOC_I2C_AND_SPI config SND_SOC_WM8903 tristate "Wolfson Microelectronics WM8903 CODEC" @@ -1576,6 +1577,7 @@ config SND_SOC_WM8985 config SND_SOC_WM8988 tristate + depends on SND_SOC_I2C_AND_SPI config SND_SOC_WM8990 tristate @@ -1594,6 +1596,7 @@ config SND_SOC_WM8994 config SND_SOC_WM8995 tristate + depends on SND_SOC_I2C_AND_SPI config SND_SOC_WM8996 tristate -- 2.17.1