Tarun Kanti DebBarma 6fd9c42164 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>
2012-02-06 16:41:45 +05:30
..
2012-01-26 18:36:48 +00:00
2012-01-14 15:07:24 -08:00
2012-01-22 21:10:40 +00:00
2012-01-23 08:44:53 -08:00
2012-01-24 21:33:26 +00:00
2012-01-26 11:19:46 -08:00
2012-01-13 10:12:23 -08:00
2012-01-02 13:04:55 +01:00
2012-01-11 23:58:47 -05:00