From patchwork Wed Jan 13 22:14:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101169 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp3635627lbb; Wed, 13 Jan 2016 14:15:16 -0800 (PST) X-Received: by 10.194.171.66 with SMTP id as2mr501252wjc.73.1452723316631; Wed, 13 Jan 2016 14:15:16 -0800 (PST) Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id b6si41753993wmh.122.2016.01.13.14.15.16; Wed, 13 Jan 2016 14:15:16 -0800 (PST) Received-SPF: neutral (google.com: 77.48.224.243 is neither permitted nor denied by best guess record for domain of alsa-devel-bounces@alsa-project.org) client-ip=77.48.224.243; Authentication-Results: mx.google.com; spf=neutral (google.com: 77.48.224.243 is neither permitted nor denied by best guess record for domain of alsa-devel-bounces@alsa-project.org) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 75BD42659F2; Wed, 13 Jan 2016 23:15:15 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.2.4 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 7D37B26044B; Wed, 13 Jan 2016 23:15:08 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6DC0E2604D8; Wed, 13 Jan 2016 23:15:06 +0100 (CET) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by alsa0.perex.cz (Postfix) with ESMTP id 29753260447 for ; Wed, 13 Jan 2016 23:14:59 +0100 (CET) Received: from wuerfel.localnet ([134.3.118.24]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0MfSEV-1aYXqE0FPH-00P7o1; Wed, 13 Jan 2016 23:14:57 +0100 From: Arnd Bergmann To: broonie@kernel.org Date: Wed, 13 Jan 2016 23:14:54 +0100 Message-ID: <5346380.rqT2CVl4PH@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:CiT5W33m5/r/GZ01l2ySIFAL/x80pyVwkkrI3r+Ky/ScplsW23I 5tlF0dFkpoZDqoL2BTJXbdamtYHVgaD39bVlruzf3vuHu6310Ai+g0jU9PcHMYxHi6N/bk3 TxiwGUtyQGa5017It18NoaHj710ssm9iixTBRR3hs9u9vos9JgfJI0VviAT18USD9fq+A9j SHqMwi3gIjY9nr9zgAPYw== X-UI-Out-Filterresults: notjunk:1; V01:K0:Q3U8sRcFZh4=:5cZ7cb8aErDoNidOwx7GH3 klM4FixcIJF5yC5GJrK4oUdI1Qh8n+XQf6eONq25qiy9xI9J/Tqm17ITblifpo7sJo7bEzunO Blnm10jBw1ZZlx8gVI67Hm3lgHtjetAqI0NAGIrSlP5I9toG0FJDNj005jnju6XASq7T+Ufs7 mWFDRc9IEfi658cp2+N2E26AbiVlr/iDWTmy11ThpCi35Y49mPdRnBCicN0cEMzBRJgW28Tar nqljJugzpSakogDFVqGzMRilDxdrGHM3FxOp1+xAM7iNPVJzZ8MlJeq4PhAh6p9iC8mhH2qOA NSruDM4HvEbySixTMCG6KN4ZExMTCFWEDpp6CYFTKEdKeEVaLYdjHero8sGUKWlapG4Vq8rvb Cy+r0II2hKosjS/yjgHuhcFcHJt9qMBG/4pvoXtxlyXiPvzFg9/g/Cb9j7SSjR/QjohenCzXy 2+7a1IoPbcKYrU+4nko87d0K+Qm5GidZSoCKSlE8blMKUDsGzwv8pprh5T1YVsTpz+/TuizpN gGJZO0Rkga5p28uUt7TdWFC9nthYdWNJv47dwJzFn+1Fzoge7yhjoR+w8hYBdobalmwGKqEyY dcnWiyKngDfyBQn+qyjxLG5gaTrjK/edoj70JZqDSA24AI9k2t6YSdTksFYVbzozYwE5KpJth ZP8p5RC5C0aNFJlWG0jD92c0en6f8PZNQmYCiNbfToweJvpItGVcCp6eN35ikpriJA2PNqQme 2zNKXKxmNVyd0U+0 Cc: alsa-devel@alsa-project.org, linux-mediatek@lists.infradead.org, lgirdwood@gmail.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH] ASoC: mediatek: add i2c dependency X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The newly added mediatek drivers for mt8173 select codes that depend on I2C, which cuases a build failure if I2C is disabled: warning: (SND_SOC_ADAU1761_I2C && SND_SOC_ADAU1781_I2C && SND_SOC_ADAU1977_I2C && SND_SOC_RT5677 && EXTCON_MAX14577 && EXTCON_MAX77693 && EXTCON_MAX77843 && BMC150_ACCEL_I2C && BMG160_I2C) selects REGMAP_I2C which has unmet direct dependencies (I2C) codecs/rt5645.c:3854:1: warning: data definition has no type or storage class codecs/rt5645.c:3854:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] codecs/rt5677.c:5270:1: warning: data definition has no type or storage class 77_i2c_driver); codecs/rt5677.c:5270:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] This adds an explicit dependency. Signed-off-by: Arnd Bergmann _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig index 15c04e2eae34..976967675387 100644 --- a/sound/soc/mediatek/Kconfig +++ b/sound/soc/mediatek/Kconfig @@ -9,7 +9,7 @@ config SND_SOC_MEDIATEK config SND_SOC_MT8173_MAX98090 tristate "ASoC Audio driver for MT8173 with MAX98090 codec" - depends on SND_SOC_MEDIATEK + depends on SND_SOC_MEDIATEK && I2C select SND_SOC_MAX98090 help This adds ASoC driver for Mediatek MT8173 boards @@ -19,7 +19,7 @@ config SND_SOC_MT8173_MAX98090 config SND_SOC_MT8173_RT5650_RT5676 tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs" - depends on SND_SOC_MEDIATEK + depends on SND_SOC_MEDIATEK && I2C select SND_SOC_RT5645 select SND_SOC_RT5677 help