Re: [alsa-devel] [PATCH] ASoC: sta32x: Move resource allocation and release to the corresponding callback functions
18 Aug
2011
18 Aug
'11
3:19 p.m.
On 18/08/11 08:31, Axel Lin wrote:
This patch includes below small fixes:
- Move sta32x_set_bias_level() from sta32x_i2c_remove() to sta32x_remove().
- Remove a redundant regulator_bulk_free() call in sta32x_i2c_remove(), as we will call regulator_bulk_free() in sta32x_remove().
- Remove unneeded snd_soc_codec_set_drvdata(codec, NULL) in sta32x_i2c_remove. The i2c core will set the clientdata to NULL.
Signed-off-by: Axel Lin axel.lin@gmail.com
Acked-by: Liam Girdwood lrg@ti.com
4875
Age (days ago)
4875
Last active (days ago)
0 comments
1 participants
participants (1)
-
Liam Girdwood