gpio: omap: prepare and unprepare the debounce clock
authorRajendra Nayak <rnayak@ti.com>
Wed, 23 Apr 2014 06:11:03 +0000 (11:41 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 May 2014 15:52:35 +0000 (17:52 +0200)
commit345477ffe2ed0c53ffbbfeae73f9bca38e827d0d
treea404efafcbf41970ed60d323590458d865dafa99
parent09ffa131c773a041ecbc9ca4a8033493d69b89b9
gpio: omap: prepare and unprepare the debounce clock

Replace the clk_enable()s with a clk_prepare_enable() and
the clk_disables()s with a clk_disable_unprepare()

This never showed issues due to the OMAP platform code (hwmod)
leaving these clocks in clk_prepare()ed state by default.

Reported-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c