lkml.org 
[lkml]   [2015]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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...
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-10-19 21:01    [W:0.041 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site