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

Tony Lindgren tony at atomide.com
Fri Apr 20 18:23:07 EDT 2012


* 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>



More information about the linux-arm-kernel mailing list