[alsa-devel] [PATCH 3/3] sound/soc/au1x: keep pointer to resource so it can be freed

Girdwood, Liam lrg at ti.com
Wed Oct 19 18:47:25 CEST 2011


On 19 October 2011 15:50, Manuel Lauss <manuel.lauss at googlemail.com> wrote:
> On Tue, Oct 18, 2011 at 5:45 AM, Julia Lawall <julia at diku.dk> wrote:
>> From: Julia Lawall <julia at diku.dk>
>>
>> Add a new variable for storing resources accessed subsequent to the one
>> accessed using request_mem_region, so the one accessed using
>> request_mem_region can be released if needed.
>>
>> This code is also missing some calls to iounmap.
>
> How about something much simpler, like this:
>
> From 940e38b3f0beff6fcd8f62f627dce622e9ca0e54 Mon Sep 17 00:00:00 2001
> From: Manuel Lauss <manuel.lauss at googlemail.com>
> Date: Wed, 19 Oct 2011 16:45:12 +0200
> Subject: [PATCH] ASoC: au1x: fix error paths in ac97c/i2cs probe callbacks.
>
> add iounmap() and release the correct mem resource.
>
> Signed-off-by: Manuel Lauss <manuel.lauss at googlemail.com>

Acked-by: Liam Girdwood <lrg at ti.com>


More information about the Alsa-devel mailing list