2010-11-19 11:25:49

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] ASoC: Move kfree(twl4030) to twl4030_soc_remove()

On Fri, Nov 19, 2010 at 05:31:08PM +0800, Axel Lin wrote:
> As we allocate memory for twl4030 in twl4030_codec_probe(),
> twl4030_codec_remove() is a better place to free the memory.
>
> Signed-off-by: Axel Lin <[email protected]>

Acked-by: Mark Brown <[email protected]>


2010-11-19 12:15:37

by Liam Girdwood

[permalink] [raw]
Subject: Re: [PATCH] ASoC: Move kfree(twl4030) to twl4030_soc_remove()

On Fri, 2010-11-19 at 11:25 +0000, Mark Brown wrote:
> On Fri, Nov 19, 2010 at 05:31:08PM +0800, Axel Lin wrote:
> > As we allocate memory for twl4030 in twl4030_codec_probe(),
> > twl4030_codec_remove() is a better place to free the memory.
> >
> > Signed-off-by: Axel Lin <[email protected]>
>
> Acked-by: Mark Brown <[email protected]>

Applied

Thanks

Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk