clk: cs2000: Add cs2000_set_saved_rate
authorGaku Inami <gaku.inami.xw@bp.renesas.com>
Wed, 19 Apr 2017 17:46:31 +0000 (02:46 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 31 Aug 2017 18:32:32 +0000 (11:32 -0700)
commite001525c4bcca9d3476f3ae30ff03e9ff67703d0
tree65d5d8220cc959231d211d955327dd8d2ad53e4b
parentfa0abb18d981099071ad382375d1d9e625d81f36
clk: cs2000: Add cs2000_set_saved_rate

This patch adds the common function to reset the clk rate in order to
be able to use it in other cases.

Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-cs2000-cp.c