Re: [PATCH v2][ASoC v2] Replace snd_soc_free_codec with snd_soc_unregister_codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 24, 2008 at 02:06:57PM -0500, Timur Tabi wrote:

> So we replace snd_soc_free_codec() with snd_soc_unregister_codec().  This new
> function only unregisters the codec but does not free the memory resources.
> The caller can now allocate and free the memory resources as it sees fit.

Thanks!  I've applied this locally and will push it out into the ASoC v2
git branch after some testing.

> Also updated all callers of snd_soc_free_codec() to call
> snd_soc_unregister_codec() instead and free the resources themselves.

As discussed on IRC we should probably also convert all codec drivers to
embed the struct snd_soc_codec in their private_data.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux