diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2014-09-29 01:50:05 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-09-29 01:50:05 +0200 |
commit | c387f07e6205cc13f57c1def5f885bf0a20e1c2d (patch) | |
tree | 7817a8d82c95bdeda912a9e4611a9d893b7a16b3 /crypto | |
parent | 04f7e3e5134b9517bd9a78a84a9ee0f982d3ebdd (diff) |
clocksource: arm_arch_timer: Discard unavailable timers correctly
Currently we wait until both cp15 and mem timers are probed if we
have both timer device nodes present in the device tree without
checking if the device is actually available. If one of the timer
device node present is disabled, the system locks up on the boot
as no timer gets registered.
This patch adds the check for the availability of the timer device
so that unavailable timers are discarded correctly. It also adds
the missing of_node_put.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions