Re: [PATCH] ASoC: Add resource managed devm_snd_soc_register_codec()

From: Mark Brown
Date: Fri Dec 20 2013 - 06:52:17 EST


On Fri, Dec 20, 2013 at 05:56:47PM +0800, Xiubo Li wrote:
> Adds a resource managed version of snd_soc_register_codec() which makes
> it possible to simplify the remove function as well as the error path
> for codec drivers.

The reason this has not been added is that the goal is to merge CODEC
and component so rather than churn all the CODEC drivers to add this and
then churn them again to convert to components it'd be better to add the
component registration we could do the conversion and then update all
the drivers only once. That's not actually happened yet though...

Attachment: signature.asc
Description: Digital signature