Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 48b332f9 authored by Russell King's avatar Russell King Committed by Chris Ball
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent ca5879d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment