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

Commit 6d7afba4 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

clk: msm: clock-cpu-8996: Don't try to unmap bases in probe



We're trying to be a little too clever in the probe
function by trying to unmap the APC0/1 base if it
has already been mapped before probe. However there
is no necessity to do this; the memory mapping code
is optimized enough that it won't return a new mapping
for the same physical space. Furthermore, probe deferral
and devm_ioremap results in unmapping of the memory with
the pointers still pointing to the mapping, triggering
a warning on the next probe attempt.

Don't try to unmap the memory during probe.

Change-Id: I55b89224c155d33ffad0c0729c6e69381a83a316
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent 09deb55f
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