Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 34672013 authored by Tarun Kanti DebBarma's avatar Tarun Kanti DebBarma Committed by Linus Walleij
Browse files

gpio/omap: move bank->dbck initialization to omap_gpio_mod_init()



Since the bank->dbck initialization in a one time operation there
is no need to keep this within gpio_debounce(). Therefore, moving
clk_get(bank->dbck) to omap_gpio_mod_init(). Since the value of
bank->dbck would be NULL at the beginning, this check has been
removed.

Signed-off-by: default avatarTarun Kanti DebBarma <tarun.kanti@ti.com>
Reported-by: default avatarPaul Walmsley <paul@pwsan.com>
Reviewed-by: default avatarJon Hunter <jon-hunter@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Cousson, Benoit <b-cousson@ti.com>
Reviewed-by: default avatarPaul Walmsley <paul@pwsan.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent aeb27748
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment