[alsa-devel] [PATCH] twl6040: fix wrong kfree in twl6040_remove and twl6040_codec_remove

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jul 16 11:36:25 CEST 2010


On Fri, Jul 16, 2010 at 05:26:48PM +0800, Axel Lin wrote:
> Memory allocation part:
> We allocate a memory in twl6040_codec_probe():
>         priv = kzalloc(sizeof(struct twl6040_data), GFP_KERNEL);
>         twl6040_codec = codec = &priv->codec;

Could you please try to take on board the feedback you were given
yesterday about this sort of stuff?  Both the feedback about formatting
your patch so it's easy to apply and the collisions with other, more
substantial, work that's going on?


More information about the Alsa-devel mailing list