[PATCH 5/8] mmc: omap_hsmmc: release correct resource

Chris Ball cjb at laptop.org
Fri Apr 20 18:59:51 EDT 2012


Hi,

On Fri, Apr 20 2012, Tony Lindgren wrote:
> * Russell King <rmk+kernel at arm.linux.org.uk> [120418 03:15]:
>> res can be one of several resources, as this variable is re-used several
>> times during probe.  This can cause the wrong resource parameters to be
>> passed to release_mem_region().
>> 
>> Get the original memory resource before calling release_mem_region().
>> 
>> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
>
> Acked-by: Tony Lindgren <tony at atomide.com>

Thanks, pushed to mmc-next for 3.4.

- Chris.
-- 
Chris Ball   <cjb at laptop.org>   <http://printf.net/>
One Laptop Per Child



More information about the linux-arm-kernel mailing list