commit | 48b332f9916f33ba0001b78e5cea49ef17f3c81e | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Apr 18 11:11:57 2012 +0100 |
committer | Chris Ball <cjb@laptop.org> | Sun Apr 22 11:17:42 2012 -0400 |
tree | 0de29f015dd149a9081af86dec4836a25beb0c8e | |
parent | ca5879d3ffebd967e94b2dc3b1a3dc089709206f [diff] |
mmc: omap_hsmmc: release correct resource 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@arm.linux.org.uk> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Chris Ball <cjb@laptop.org>