summaryrefslogtreecommitdiffstats
path: root/drivers/hwspinlock/Kconfig
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2014-07-03 01:00:59 +0200
committerOhad Ben-Cohen <ohad@wizery.com>2014-07-29 10:46:25 +0200
commite1e4528f8c99624494043597859e7f9421832833 (patch)
tree2491adc13e640f56c6748c93a06b8e4c65025fc9 /drivers/hwspinlock/Kconfig
parentLinux 3.16-rc6 (diff)
downloadlinux-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