commit | 2316a7a33408b6e7b24e9d2a9a7c24af9a012289 | [log] [tgz] |
---|---|---|
author | Alex Frid <afrid@nvidia.com> | Tue Jul 25 13:18:40 2017 +0300 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Aug 31 18:43:38 2017 -0700 |
tree | 0bc2dc4fd97f8927062274f8686d10bd164a5f23 | |
parent | 6c264416c9b3dfd860aba9bcbe0ab4e0f061c0ca [diff] |
clk: Don't write error code into divider register Add a check for error returned by divider value calculation to avoid writing error code into hw register. Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Fixes: bca9690b9426 ("clk: divider: Make generic for usage elsewhere") Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>