From patchwork Mon Aug 31 00:52:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 7098261 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1C95E9F32B for ; Mon, 31 Aug 2015 00:53:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4DC0620795 for ; Mon, 31 Aug 2015 00:52:59 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 3B51E20793 for ; Mon, 31 Aug 2015 00:52:57 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id C5B1B260691; Mon, 31 Aug 2015 02:52:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 52C8D26053D; Mon, 31 Aug 2015 02:52:48 +0200 (CEST) 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 D0CE226055C; Mon, 31 Aug 2015 02:52:46 +0200 (CEST) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by alsa0.perex.cz (Postfix) with ESMTP id 9FFA42604D8 for ; Mon, 31 Aug 2015 02:52:39 +0200 (CEST) Received: by pacrd3 with SMTP id rd3so3856609pac.3 for ; Sun, 30 Aug 2015 17:52:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=I0jYAU7hKbQSAq7Z9j9wf20ZsfIJWLcNWGQ1JOUNrDA=; b=XNZ3M4aVf0wIay5ujf36XFey3IPEgE0HmnnKxGiXgjRpv2+I5mHYTtgSXjvX1su0bC KTjYJ4xiXLwEu2YR1/Guno3BMZTK1Ev3ISfTM5THOqu1xU9AAB27w697yBP879wv2ofL O59v21B5A9CFKhlqh/wuryZG2Ideq12tMLV+oNHnl/kZKNOi9tnCWLwO/znUfgvoVAcF hn/ZX7fSMAvvzSt+SX6tzAOf7LtzWjxN2H9ZMoTkYTLZu8TRpEYf295x8Gq9ddgQb0/D XckmUxwzR1neHLMM9XxPpHVW14nmv+qYUjdNwIB7LyvxKLItjjFa+O8k/t7AnfNxoWmQ Xanw== X-Gm-Message-State: ALoCoQnq0KGmeEcXgK+ZFZmQQHyyAEWmVVELn3EKVhJXIMvxBgXZJTHFuhrzUIqljfXtsSmpILM+ X-Received: by 10.66.219.39 with SMTP id pl7mr32921926pac.148.1440982357594; Sun, 30 Aug 2015 17:52:37 -0700 (PDT) Received: from phoenix.local (36-239-213-235.dynamic-ip.hinet.net. [36.239.213.235]) by smtp.gmail.com with ESMTPSA id jr12sm12390661pbb.91.2015.08.30.17.52.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Aug 2015 17:52:36 -0700 (PDT) Message-ID: <1440982353.8335.2.camel@ingics.com> From: Axel Lin To: Mark Brown Date: Mon, 31 Aug 2015 08:52:33 +0800 X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Cc: alsa-devel@alsa-project.org, Arnaud Pouliquen , Takashi Iwai , Liam Girdwood Subject: [alsa-devel] [PATCH] ASoC: Make SND_SOC_STI_SAS depend on RESET_CONTROLLER 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 X-Virus-Scanned: ClamAV using ClamSMTP (devm_)reset_control_get function is available only when RESET_CONTROLLER is set. Make SND_SOC_STI_SAS depend on RESET_CONTROLLER to fix build error if !RESET_CONTROLLER. Reported-by: Takashi Iwai Signed-off-by: Axel Lin --- sound/soc/codecs/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 0c9733e..f8e0022 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -106,7 +106,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_STA350 if I2C select SND_SOC_STA529 if I2C select SND_SOC_STAC9766 if SND_SOC_AC97_BUS - select SND_SOC_STI_SAS + select SND_SOC_STI_SAS if RESET_CONTROLLER select SND_SOC_TAS2552 if I2C select SND_SOC_TAS5086 if I2C select SND_SOC_TAS571X if I2C @@ -634,6 +634,7 @@ config SND_SOC_STAC9766 config SND_SOC_STI_SAS tristate "codec Audio support for STI SAS codec" + depends on RESET_CONTROLLER config SND_SOC_TAS2552 tristate "Texas Instruments TAS2552 Mono Audio amplifier"