From patchwork Wed Oct 11 00:45:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Levin, Alexander \(Sasha Levin\)" X-Patchwork-Id: 115478 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp186534qgn; Tue, 10 Oct 2017 18:05:15 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDS3eqrY+9iQnfR8DtIOxM8w8iYxTLCv7MQ38v5+hoNIfq2u/zg9RDjZKuVf3yFJcYuaWQB X-Received: by 10.84.234.140 with SMTP id n12mr13860708plk.209.1507683915423; Tue, 10 Oct 2017 18:05:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507683915; cv=none; d=google.com; s=arc-20160816; b=dv9St9DywyJCcy81uAw5IKVHeVCez2uZdLhFmwV4jO4dexCWwQG6GXIP/+xvxf/bMS MFbqz/LFFQV4K2lFiswOkF4ho9AAW45KTn4GCo0kCmxTbnNC7k1/U5pUvY9F7TFxnDKw 64RR2IoMrPojmDdoFM562eC/1HmYrSDqZ64u5jxo9Zt+i/0NNanr9p1IKLG/i+JAspir FGyCFj8d1xieAAfEoISHDx6PEZtrCQI8KM3xDU+0cCVaNhgNS3nRtWV7qjbPdI/RNCQ+ X3CoE3orc/VdhksSax7BBbHZgb8a7bP2DO+h9Z8YrLEIhnIkcfF6tR0RyVMclkjs4s/5 FuAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:dkim-signature :dkim-signature:from:dkim-signature:arc-authentication-results; bh=+4fMg/h25Afwe4TAtoXP8RJ79zgJAe9Q4hRekUQZV8w=; b=BOJu/hEAnGpvIgtwuXwHntISN1mX6Kc7pXhz37uS1pYxaeyjflVy38v3VYS3pyVy9O wA0HwmnDqg8PwbaBX0cfof8czkxe1IxxoPLjxk7TqgjlWEFQFsQoYgyRNfnQML4gyWCi N0p6E2tyxvMBpuxoeVN9YRhODlWh4xIKyqOxf8hZS0dTxHrZ8IBE5LfJ3c50bVimDv1k JqkSOCt8G0h0DaR542Qufk+3jgm42IR3DCzMpoX/MdbMNc1p1sagGD1tr7oqV+2lanPm BVyv7DVy1cnbjz5LcrVMDfdlPL2UoSwj8iMjLS0Y2kDQb+J5+MX52FUR7Lnbf4BmjSKe eUww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verizon.com header.s=corp header.b=rYjbWFYS; dkim=fail header.i=@verizon.com header.s=corp header.b=mjwde1uA; dkim=fail header.i=@verizon.com header.s=corp header.b=Q5ttxG0/; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=verizon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si9169160pgn.342.2017.10.10.18.05.15; Tue, 10 Oct 2017 18:05:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@verizon.com header.s=corp header.b=rYjbWFYS; dkim=fail header.i=@verizon.com header.s=corp header.b=mjwde1uA; dkim=fail header.i=@verizon.com header.s=corp header.b=Q5ttxG0/; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=verizon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757116AbdJKBE7 (ORCPT + 26 others); Tue, 10 Oct 2017 21:04:59 -0400 Received: from omzsmtpe02.verizonbusiness.com ([199.249.25.209]:3745 "EHLO omzsmtpe02.verizonbusiness.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932647AbdJKAqN (ORCPT ); Tue, 10 Oct 2017 20:46:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1507682773; x=1539218773; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=3rFN5HSZuzmwcOTUFRf68PiQn9baGPxtL6G7F5B2GoA=; b=rYjbWFYSzEAwSOlLtt0neigE/rd0EojPtNsAATksCvM266sb1SnIFgyZ pmRSb9/KG+pYw6QFtRRombBhMC8M0KxkaMYvv2ln6Zqo735kk2O/wIy1j yzbVcZLXs1k7HYULC6/vEOSN37YOF2Gz9n0fiJd3vo/8QrrOkfpPBU4oS k=; Received: from unknown (HELO fldsmtpi02.verizon.com) ([166.68.71.144]) by omzsmtpe02.verizonbusiness.com with ESMTP; 11 Oct 2017 00:45:56 +0000 From: "Levin, Alexander (Sasha Levin)" Received: from rogue-10-255-192-101.rogue.vzwcorp.com (HELO atlantis.verizonwireless.com) ([10.255.192.101]) by fldsmtpi02.verizon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Oct 2017 00:45:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1507682743; x=1539218743; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=3rFN5HSZuzmwcOTUFRf68PiQn9baGPxtL6G7F5B2GoA=; b=mjwde1uAFii3hn1kKHWSWWyIRSWTes2It75YmAwxhnjOgaXMbxp9oKyb KNJhC4n7BGGKCZ2dxWOC51YnI8pEmeyYvbz3Z9+sszItUOiUsXF7h+/8a cEyn1FyGbEy/iahc+Ufm5WveBu2ahvVqryZhbU5Zu7C1aOTTKIaUpneHg E=; Received: from surveyor.tdc.vzwcorp.com (HELO eris.verizonwireless.com) ([10.254.88.83]) by atlantis.verizonwireless.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Oct 2017 20:45:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1507682742; x=1539218742; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=3rFN5HSZuzmwcOTUFRf68PiQn9baGPxtL6G7F5B2GoA=; b=Q5ttxG0/tUdTzlmDZaxJdbjWRdmHWUgd5zTZ0wB1pbSY11sttJRZJjl9 W/TyEqQhaqOmJiEgdnfUCKZXd7K7V/sLCa18Zalmr6KHDKaUbrVF6yPeV g4ObOXQNy3Nq0kN++aWDe+Iq7JJYYe4dNNBbllWLOPX79YWG727sn1v48 w=; X-Host: surveyor.tdc.vzwcorp.com Received: from ohtwi1exh003.uswin.ad.vzwcorp.com ([10.144.218.45]) by eris.verizonwireless.com with ESMTP/TLS/AES128-SHA256; 11 Oct 2017 00:45:42 +0000 Received: from tbwexch14apd.uswin.ad.vzwcorp.com (153.114.162.38) by OHTWI1EXH003.uswin.ad.vzwcorp.com (10.144.218.45) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 10 Oct 2017 20:45:42 -0400 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by tbwexch14apd.uswin.ad.vzwcorp.com (153.114.162.38) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 10 Oct 2017 20:45:42 -0400 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Tue, 10 Oct 2017 19:45:35 -0500 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) with mapi id 15.00.1263.000; Tue, 10 Oct 2017 19:45:35 -0500 To: "gregkh@linuxfoundation.org" CC: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: [GIT PULL for-4.9 26/48] ASoC: mediatek: add I2C dependency for CS42XX8 Thread-Topic: [GIT PULL for-4.9 26/48] ASoC: mediatek: add I2C dependency for CS42XX8 Thread-Index: AQHTQio6MZTJRlGW2USuJ1JDy66IaA== Date: Wed, 11 Oct 2017 00:45:25 +0000 Message-ID: <20171011004512.7949-27-alexander.levin@verizon.com> References: <20171011004512.7949-1-alexander.levin@verizon.com> In-Reply-To: <20171011004512.7949-1-alexander.levin@verizon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.144.60.250] MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ Upstream commit 72cedf599fcebfd6cd2550274d7855838068d28c ] We should not select drivers that depend on I2C when that is disabled, as it results in a build error: warning: (SND_SOC_MT2701_CS42448) selects SND_SOC_CS42XX8_I2C which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && I2C) sound/soc/codecs/cs42xx8-i2c.c:60:1: warning: data definition has no type or storage class module_i2c_driver(cs42xx8_i2c_driver); sound/soc/codecs/cs42xx8-i2c.c:60:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] Fixes: 1f458d53f76c ("ASoC: mediatek: Add mt2701-cs42448 driver and config option.") Signed-off-by: Arnd Bergmann Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/mediatek/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig index 05cf809cf9e1..d7013bde6f45 100644 --- a/sound/soc/mediatek/Kconfig +++ b/sound/soc/mediatek/Kconfig @@ -13,7 +13,7 @@ config SND_SOC_MT2701 config SND_SOC_MT2701_CS42448 tristate "ASoc Audio driver for MT2701 with CS42448 codec" - depends on SND_SOC_MT2701 + depends on SND_SOC_MT2701 && I2C select SND_SOC_CS42XX8_I2C select SND_SOC_BT_SCO help