From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damien Horsley Subject: Re: [alsa-devel] [PATCH V2 08/10] ASoC: img: Add driver for SPDIF input controller Date: Thu, 22 Oct 2015 20:21:41 +0100 Message-ID: <56293745.7050901@imgtec.com> References: <1444653637-14711-1-git-send-email-Damien.Horsley@imgtec.com> <1444653637-14711-9-git-send-email-Damien.Horsley@imgtec.com> <20151019182758.GK32054@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20151019182758.GK32054-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mark Brown Cc: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, James Hartley , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: alsa-devel@alsa-project.org On 19/10/15 19:27, Mark Brown wrote: > 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... > Ok -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html