[alsa-devel] [PATCH 2/2] ASoC: cs4271: Add DAPM support

Daniel Mack zonque at gmail.com
Sun Aug 11 18:02:42 CEST 2013


On 11.08.2013 14:16, Mark Brown wrote:
> +static const struct snd_soc_dapm_widget cs4271_dapm_widgets[] = {
> +SND_SOC_DAPM_INPUT("AINA"),
> +SND_SOC_DAPM_INPUT("AINB"),
> +
> +SND_SOC_DAPM_OUTPUT("AOUTA+"),
> +SND_SOC_DAPM_OUTPUT("AOUTA-"),
> +SND_SOC_DAPM_OUTPUT("AOUTB+"),
> +SND_SOC_DAPM_OUTPUT("AOUTB-"),
> +};
> +
> +static const struct snd_soc_dapm_route cs4271_dapm_routes[] = {
> +	{ "Capture", NULL, "AINL" },
> +	{ "Capture", NULL, "AINR" },

Here you call the widgets "AINL"/"AINR", while above it's "AINA"/"AINB".
 According to the datasheet, the latter is
correct.


Daniel



More information about the Alsa-devel mailing list