commit | 056b205316cc3dcf8a67cf813a26ff8a72bf3cb9 | [log] [tgz] |
---|---|---|
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | Tue Apr 02 15:36:56 2013 -0700 |
committer | Mike Turquette <mturquette@linaro.org> | Wed Apr 03 12:56:30 2013 -0700 |
tree | 3d98f8d116d5e7541cf41eec72847b2d3673324a | |
parent | f640c0fad698c0e4b07e05373681d3681125d6af [diff] |
clk: divider: Introduce CLK_DIVIDER_ALLOW_ZERO flag Dividers which have CLK_DIVIDER_ONE_BASED set have a redundant state, being a divider value of zero. Some hardware implementations allow a zero divider which simply doesn't alter the frequency. I.e. it acts like a divide by one or bypassing the divider. This flag is used to handle such HW in the clk-divider model. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>