diff options
author | Dinh Nguyen <[email protected]> | 2021-03-22 07:18:44 -0500 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2021-04-08 13:24:53 +0200 |
commit | 397dc6f7ca3c858dc95800f299357311ccf679e6 (patch) | |
tree | 1de07a84ed0dca92f02cdf82cc5a74aa39cc672d /drivers/clocksource/timer-ti-dm-systimer.c | |
parent | 690daddcb60246d8a510aaad7b954bcc53eba17e (diff) |
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: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Dinh Nguyen <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/clocksource/timer-ti-dm-systimer.c')
0 files changed, 0 insertions, 0 deletions