[alsa-devel] [PATCH 1/2] ASoC: Add CS4271 codec support

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Oct 7 02:49:41 CEST 2010

On Thu, Oct 07, 2010 at 01:39:01PM +1300, Ryan Mallon wrote:
> From: Alexander Sverdlin <subaparts at yandex.ru>
> Added support for Cirrus CS4271 codec to ALSA SoC subsystem.
> Applies on: 2.6.36-rc6

Unfortunately there have been major changes in the ASoC APIs in -next
for Liam's multi-component work so you'll need to update this before it
can be applied.  You should always submit code against -next (except for
bug fixes to be sent to Linus).



for current code.

I gave the driver a quick review and it looks really good - it just
needs to be updated for current APIs.

> +static const struct snd_kcontrol_new cs4271_snd_controls[] = {
> +	SOC_DOUBLE_R("Master Playback Volume", CS4271_VOLA, CS4271_VOLB, 0, 0x7F, 1),

TLV information would be nice but isn't essential.

> +	SOC_SINGLE("Digital Loopback Switch", CS4271_MODE2, 4, 1, 0),

This should probably be done as part of DAPM.  Again probably not

More information about the Alsa-devel mailing list