[alsa-devel] [PATCH 2/4] Add imx3sound sound support.

Mark Brown broonie at opensource.wolfsonmicro.com
Sun Mar 11 12:40:15 CET 2012


On Fri, Mar 09, 2012 at 03:55:14PM +0100, Philippe Rétornaz wrote:

> +static int imx3sound_hifi_hw_free(struct snd_pcm_substream *substream)
> +{
> +	return 0;
> +}

Remove all empty functions.

> +	imx3sound_snd_device = platform_device_alloc("soc-audio", -1);
> +	if (!imx3sound_snd_device)
> +		return -ENOMEM;

No soc-audio usage, use snd_soc_register_card() from a platform device.
-------------- 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/20120311/671bbcbf/attachment.sig 


More information about the Alsa-devel mailing list