]> Pileus Git - ~andy/linux/commit
clk: composite: pass mux_hw into determine_rate
authorMike Turquette <mturquette@linaro.org>
Tue, 14 Jan 2014 20:56:01 +0000 (12:56 -0800)
committerMike Turquette <mturquette@linaro.org>
Wed, 15 Jan 2014 15:48:03 +0000 (07:48 -0800)
commit5d2043fbe4ddc6cc16ba71b49c2c13f4cb2fe932
tree7252db3f4c513e4184970a0b838a56634f0e9268
parent119754e57609113818f1226925046bfd54d6dc53
clk: composite: pass mux_hw into determine_rate

The composite clock's .determine_rate implementation can call the
underyling .determine_rate callback corresponding to rate_hw or the
underlying .determine_rate callback corresponding to mux_hw. In both
cases we pass in rate_hw, which is wrong. Fixed by passing mux_hw into
the correct callback.

Reported-by: Lemon Dai <dailemon.gl@gmail.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-composite.c