[alsa-devel] [PATCH v2] ASoC: tlv320aic31xx: Don't call kfree for memory allocated by devm_kzalloc

Jyri Sarha jsarha at ti.com
Mon Mar 17 08:22:53 CET 2014


On 03/16/2014 05:06 PM, Axel Lin wrote:
> The kfree call is not necessary, but we need to call snd_soc_unregister_codec()
> in remove().
>
> Signed-off-by: Axel Lin <axel.lin at ingics.com>

Oops, that is a bad one. Thanks!

Acked-by: Jyri Sarha <jsarha at ti.com>

ps. I found another not as serious bug when I did unload testing with 
this patch. I'll mail a patch shortly.





More information about the Alsa-devel mailing list