[alsa-devel] [PATCH 01/18] ASoC: omap-pcm: Support for binding the platform driver to dai devices

Peter Ujfalusi peter.ujfalusi at ti.com
Wed Apr 16 13:01:51 CEST 2014


On 04/16/2014 12:30 PM, Peter Ujfalusi wrote:
>> +int omap_pcm_platform_register(struct device *dev)
>> +{
>> +	return snd_soc_register_platform(dev, &omap_soc_platform);
> 
> Aargh, I meant to use the devm_snd_soc_register_platform() so the unregister
> is not going to be needed and the subsequent patches are expecting that this
> is devm_*
> Will resend soon.

There's no devm variant for snd_soc_register_platform()
Mark: would it make sens to add it? I can add a patch to v2 of this series for it.

-- 
Péter


More information about the Alsa-devel mailing list