11 Mar
2012
11 Mar
'12
1:40 p.m.
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.