Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1250991
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [alsa-devel] [PATCH V2 08/10] ASoC: img: Add driver for SPDIF input controller |
| Date | 2015-10-19 20:30 +0200 |
| Message-ID | <qlnm2-46a-15@gated-at.bofh.it> (permalink) |
| References | <qlmJk-35z-39@gated-at.bofh.it> <qlnm2-46a-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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...
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [alsa-devel] [PATCH V2 08/10] ASoC: img: Add driver for SPDIF input controller Mark Brown <broonie@kernel.org> - 2015-10-19 20:30 +0200 Re: [alsa-devel] [PATCH V2 08/10] ASoC: img: Add driver for SPDIF input controller Damien Horsley <Damien.Horsley@imgtec.com> - 2015-10-22 21:30 +0200
csiph-web