[alsa-devel] [PATCH V4 2/2] ASoC: SPEAr spdif_out: Add spdif out support
Mark Brown
broonie at opensource.wolfsonmicro.com
Tue Jul 3 20:58:22 CEST 2012
On Tue, Jul 03, 2012 at 05:24:59PM +0530, Rajeev Kumar wrote:
> +static int spdif_out_mute;
This should be part of your driver data, not static data.
> +int spdif_soc_dai_probe(struct snd_soc_dai *dai)
> +{
> + struct snd_soc_card *card = dai->card;
> + struct snd_soc_pcm_runtime *rtd = card->rtd;
> + struct snd_soc_codec *codec = rtd->codec;
> +
> + return snd_soc_add_codec_controls(codec, spdif_out_controls,
> + ARRAY_SIZE(spdif_out_controls));
snd_soc_add_dai_controls().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120703/132ddb41/attachment.sig
More information about the Alsa-devel
mailing list