summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTarun Kanti DebBarma <tarun.kanti@ti.com>2011-11-24 03:58:54 +0530
committerTarun Kanti DebBarma <tarun.kanti@ti.com>2012-02-06 16:41:45 +0530
commit6fd9c421649961a9d6d30b149e0128dde1b806b4 (patch)
tree52f347eb9d42eb1445a506443a6f1f25ee9ec0db /net
parent72f83af99838bb663f85b65386db5b875748f379 (diff)
downloadop-kernel-dev-6fd9c421649961a9d6d30b149e0128dde1b806b4.zip
op-kernel-dev-6fd9c421649961a9d6d30b149e0128dde1b806b4.tar.gz
gpio/omap: fix incorrect access of debounce module
Enable debounce clock before writing/reading debounce registers. Disable the clock at the end so that it is synchronized with the pm_runtime_get/put_sync calls. Enable debounce clock per module. This call is mandatory because in omap_gpio_request() when *_runtime_get_sync() is called, _gpio_dbck_enable() within runtime callbck fails to turn on dbck because dbck_enable_mask used within _gpio_dbck_enable() is still not initialized at that point. Therefore we have to enable dbck here. Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com> Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud