[alsa-devel] [PATCH 09/11] ASoC: Ux500: Add platform-driver

Mark Brown broonie at opensource.wolfsonmicro.com
Tue May 8 19:51:57 CEST 2012


On Tue, May 08, 2012 at 03:57:24PM +0200, Ola Lilja wrote:

> +int ux500_pcm_new(struct snd_soc_pcm_runtime *rtd)
> +{
> +	struct snd_pcm *pcm = rtd->pcm;
> +
> +	dev_dbg(rtd->platform->dev, "%s: Enter.\n", __func__);
> +
> +	pcm->info_flags = 0;
> +	strcpy(pcm->name, "UX500_PCM");

Hrm, this looks like the framework is missing something - you should
just be able to just configure this in your driver and have things
copied in for you.
-------------- 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/20120508/6cec0eb6/attachment-0001.sig 


More information about the Alsa-devel mailing list