commit | 4fefefc20a7b07c5112c655f0554ab0f699a8e57 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Fri Apr 13 13:37:46 2012 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Mon Jun 11 17:52:09 2012 -0700 |
tree | 39b1856f66dc3aebea2a9cb12f1fc96ee686e8dc | |
parent | af9e5b75508a82724ab3dc565b3ecc9d5af176a8 [diff] |
msm: clock: Return early if same rate used in clk_set_rate() Now that the rate field is cached inside struct clk we can move the check for 'rate == current rate' to the toplevel clock.c code. This way each hardware specific driver doesn't have to duplicate code and check for this condition in their clk_set_rate() ops. Change-Id: I5350ec61683713f7f9dd5c278b44a7c27463df1a Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>