[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151019182758.GK32054@sirena.org.uk>
Date: Mon, 19 Oct 2015 19:27:58 +0100
From: Mark Brown <broonie@...nel.org>
To: Damien Horsley <Damien.Horsley@...tec.com>
Cc: alsa-devel@...a-project.org,
James Hartley <James.Hartley@...tec.com>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [alsa-devel] [PATCH V2 08/10] ASoC: img: Add driver for SPDIF
input controller
On Mon, Oct 12, 2015 at 01:40:35PM +0100, Damien Horsley wrote:
> +static int img_spdif_in_get_lock_acquire(struct snd_kcontrol *kcontrol,
> + struct snd_ctl_elem_value *ucontrol)
> +{
> + struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol);
> + struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(cpu_dai);
> +
> + ucontrol->value.integer.value[0] = spdif->lock_acquire;
> +
> + return 0;
> +}
It would be nice to get some documentation of what these controls are...
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists