diff options
author | Suman Anna <s-anna@ti.com> | 2014-07-03 01:00:59 +0200 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2014-07-29 10:46:25 +0200 |
commit | e1e4528f8c99624494043597859e7f9421832833 (patch) | |
tree | 2491adc13e640f56c6748c93a06b8e4c65025fc9 /drivers/hwspinlock/Kconfig | |
parent | Linux 3.16-rc6 (diff) | |
download | linux-e1e4528f8c99624494043597859e7f9421832833.tar.xz linux-e1e4528f8c99624494043597859e7f9421832833.zip |
hwspinlock/omap: enable module before reading SYSSTATUS register
The number of hwspinlocks are determined based on the value read
from the IP block's SYSSTATUS register. However, the module may
not be enabled and clocked, and the read may result in a bus error.
This particular issue is seen rather easily on AM33XX, since the
module wakeup is software controlled, and it is disabled out of
reset. Make sure the module is enabled and clocked before reading
the SYSSTATUS register.
Signed-off-by: Suman Anna <s-anna@ti.com>
[replace pm_runtime_put_sync with lenient pm_runtime_put]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'drivers/hwspinlock/Kconfig')
0 files changed, 0 insertions, 0 deletions