Skip to content
Commit 397dc6f7 authored by Dinh Nguyen's avatar Dinh Nguyen Committed by Daniel Lezcano
Browse files

clocksource/drivers/dw_apb_timer_of: Add handling for potential memory leak



Add calls to disable the clock and unmap the timer base address in case
of any failures.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210322121844.2271041-1-dinguyen@kernel.org
parent 690daddc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment