From: Tarun Kanti DebBarma Date: Wed, 23 Nov 2011 21:33:28 +0000 (+0530) Subject: gpio/omap: fix debounce clock handling X-Git-Tag: v3.4-rc1~65^2~24^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f83af99838bb663f85b65386db5b875748f379;p=pandora-kernel.git gpio/omap: fix debounce clock handling The dbck_enable_mask indicates which all GPIOs within a bank have debounce enabled and dbck is enabled/disabled based upon this. But there is no mechanism to track the dbck state. In order to manage the dbck state we need additional flag and logic so that turning off/on dbck is synchronized with pm_runtime_put/get_sync calls. Signed-off-by: Tarun Kanti DebBarma Reviewed-by: Santosh Shilimkar Reviewed-by: Kevin Hilman Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed