diff options
author | Frank Rowand <frank.rowand@sony.com> | 2017-06-10 02:26:32 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-06-12 15:00:23 +0200 |
commit | 3db1200ca21f3c63c9044185dc5762ef996848cb (patch) | |
tree | 10abd5bf209dde8eb9342cedd833ea5ab7dadafb /drivers/clocksource/timer-sun5i.c | |
parent | alarmtimer: Rate limit periodic intervals (diff) | |
download | linux-3db1200ca21f3c63c9044185dc5762ef996848cb.tar.xz linux-3db1200ca21f3c63c9044185dc5762ef996848cb.zip |
clocksource/drivers/arm_arch_timer: Fix read and iounmap of incorrect variable
Fix boot warning 'Trying to vfree() nonexistent vm area'
from arch_timer_mem_of_init().
Refactored code attempts to read and iounmap using address frame
instead of address ioremap(frame->cntbase).
Fixes: c389d701dfb70 ("clocksource: arm_arch_timer: split MMIO timer probing.")
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Reviewed-by: Fu Wei <fu.wei@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/timer-sun5i.c')
0 files changed, 0 insertions, 0 deletions