commit | 08b9575660cd6d654c05314fc41d2209f2d8bdfb | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Mon Feb 02 14:09:43 2015 -0800 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Mar 12 12:18:49 2015 -0700 |
tree | a988748bd661eae7462e202d20674e4be3014323 | |
parent | 6b54783620bcfaff37ad41e957d29c326211cc18 [diff] |
clk: Missing set_phase op is an error If a clock's clk_ops doesn't have the set_phase op set we should return an error from clk_set_phase(). This way clock consumers know that when they tried to set a phase it didn't work, as opposed to the current behavior where the return value is 0 meaning success. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Michael Turquette <mturquette@linaro.org>