clk: qcom: Do some error handling in configure_bank()
authorGeorgi Djakov <georgi.djakov@linaro.org>
Fri, 20 Mar 2015 16:30:25 +0000 (18:30 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 23 Mar 2015 23:09:18 +0000 (16:09 -0700)
commitfae507afbdf3384227ced662c51c5b6cbff223c8
tree878766b4166ae9dfbd5e8d46d6f6889cae98416e
parent7f218978f10693f65e35b0bbcdcd539fbe78221a
clk: qcom: Do some error handling in configure_bank()

Currently configure_bank() returns void. Add some error
checking on the regmap calls and propagate if there is
any error.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/clk-rcg.c