From: Takashi Iwai Subject: Re: [PATCH v2 2.6.30] ASoC: remove stand-alone mode support from CS4270 codec driver Date: Fri, 23 Jan 2009 07:50:18 +0100 Message-ID: References: <1232670219-16780-1-git-send-email-timur@freescale.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 323041037E3 for ; Fri, 23 Jan 2009 07:50:19 +0100 (CET) In-Reply-To: <1232670219-16780-1-git-send-email-timur@freescale.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Timur Tabi Cc: alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com List-Id: alsa-devel@alsa-project.org At Thu, 22 Jan 2009 18:23:39 -0600, Timur Tabi wrote: > > The CS4270 supports stand-alone mode, where the codec is not connect to the > I2C or SPI buses. Instead, input voltages configure the codec at power-on. > The CS4270 ASoC device driver has partial support for this mode, but the > code was never tested, and partial support doesn't help anyone. It also made > the rest of the code more complicated than necessary. > > Signed-off-by: Timur Tabi > --- > > v2: Added Kconfig changes > > sound/soc/codecs/Kconfig | 1 + > sound/soc/codecs/cs4270.c | 92 +++++++++++++------------------------------- > sound/soc/fsl/Kconfig | 3 +- > 3 files changed, 30 insertions(+), 66 deletions(-) > > diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig > index cb5fcd6..136e1bc 100644 > --- a/sound/soc/codecs/Kconfig > +++ b/sound/soc/codecs/Kconfig > @@ -65,6 +65,7 @@ config SND_SOC_AK4535 > # Cirrus Logic CS4270 Codec > config SND_SOC_CS4270 > tristate > + depends on I2C This "depends" doesn't work because CONFIG_SND_SOC_CS4270 is selected usually by others. The reverse-selection ignores the depends of the target item. Takashi