clk: cs2000: tidyup DEVICE_CFG2 settings
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 18 Apr 2017 02:19:37 +0000 (02:19 +0000)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 19 Apr 2017 17:18:53 +0000 (10:18 -0700)
commitb295a015cdfdbf36ce87076dbac8a490f2797cad
tree96cfdd282da07931dd2e23b5492372254d4f6699
parentd127967a7b18598b8922bf9a4b984fae899787dc
clk: cs2000: tidyup DEVICE_CFG2 settings

DEVICE_CFG2 can select ratio from user defined ratio and LOCKCLK is
for it. But current driver sets fixed 0 value. This patch fixes it.
Note is that current cs2000 driver is using/supporting only ratio0
(= ch0) now.

DEVICE_CFG2 can select STATIC/DYNAMIC ratio mode, and current cs2000
driver is selecting STATIC mode, but it was not understandable on
current code. This patch also solve this issue.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-cs2000-cp.c