clk: Provide option for clk_get_rate to issue hw for new rate
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 31 Aug 2012 12:21:28 +0000 (14:21 +0200)
committerMike Turquette <mturquette@linaro.org>
Fri, 7 Sep 2012 00:56:22 +0000 (17:56 -0700)
commita093bde2b45a0a745f12c018e2d13c027d58641f
tree8c1984ee05c7644e7b279da92612194f75d65226
parent73118e6188c23719eeec3560b7fd1ca76f1a0919
clk: Provide option for clk_get_rate to issue hw for new rate

By using CLK_GET_RATE_NOCACHE flag, we tell the clk_get_rate API to
issue the hw for an updated clock rate. This can be used for a clock
which rate may be updated without a client necessary modifying it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c
include/linux/clk-provider.h