[alsa-devel] [PATCH] ASoC: sta32x: Move resource allocation and release to the corresponding callback functions

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Aug 18 18:21:16 CEST 2011


On Thu, Aug 18, 2011 at 03:31:04PM +0800, Axel Lin wrote:
> This patch includes below small fixes:
> 
> 1. Move sta32x_set_bias_level() from sta32x_i2c_remove() to sta32x_remove().
> 2. Remove a redundant regulator_bulk_free() call in sta32x_i2c_remove(),
>    as we will call regulator_bulk_free() in sta32x_remove().
> 3. Remove unneeded snd_soc_codec_set_drvdata(codec, NULL) in sta32x_i2c_remove.
>    The i2c core will set the clientdata to NULL.

Applied, thanks.


More information about the Alsa-devel mailing list