aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-ti-dm-systimer.c
diff options
context:
space:
mode:
authorGuillaume Ranquet <[email protected]>2022-03-07 17:26:56 +0000
committerDaniel Lezcano <[email protected]>2022-03-07 18:21:25 +0000
commit4467b8bad2401794fb89a0268c8c8257180bf60f (patch)
treee019e0b657db3723a6f48918d74f76b34bca8885 /drivers/clocksource/timer-ti-dm-systimer.c
parentclocksource/drivers/timer-microchip-pit64b: Use 5MHz for clockevent (diff)
downloadkernel-4467b8bad2401794fb89a0268c8c8257180bf60f.tar.gz
kernel-4467b8bad2401794fb89a0268c8c8257180bf60f.zip
clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
of_base->base can either be iomapped using of_io_request_and_map() or of_iomap() depending whether or not an of_base->name has been set. Thus check of_base->base against NULL as of_iomap() does not return a PTR_ERR() in case of error. Fixes: 9aea417afa6b ("clocksource/drivers/timer-of: Don't request the resource by name") Signed-off-by: Guillaume Ranquet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-ti-dm-systimer.c')
0 files changed, 0 insertions, 0 deletions