Re: [PATCH v2 2.6.30] ASoC: remove stand-alone mode support from CS4270 codec driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <timur@xxxxxxxxxxxxx>
> ---
> 
> 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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux