diff options
author | Suman Anna <s-anna@ti.com> | 2015-03-17 04:14:02 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-03-17 20:44:58 +0300 |
commit | a76fc9dda87b51010e4bc60b5e0065a70180b465 (patch) | |
tree | aa4fb16367ba9ebf251145f72a1558f871e46b56 /scripts/headers_check.pl | |
parent | e5ed5b60272871786b1c5434079925bc60d771b7 (diff) | |
download | linux-a76fc9dda87b51010e4bc60b5e0065a70180b465.tar.xz |
ARM: OMAP: dmtimer: check for pm_runtime_get_sync() failure
The current OMAP dmtimer probe does not check for the return
status of pm_runtime_get_sync() before initializing the timer
registers. Any timer with missing hwmod data would return a
failure here, and the access of registers without enabling the
clocks for the timer would trigger a l3_noc interrupt and a
kernel boot hang. Add proper checking so that the probe would
return a failure graciously without hanging the kernel boot.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'scripts/headers_check.pl')
0 files changed, 0 insertions, 0 deletions