diff options
author | Tejas Patel <[email protected]> | 2019-12-04 22:35:59 -0800 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2020-01-23 13:25:37 -0800 |
commit | 34bbe036170785bd288d8a74573ee8ad7946f4a1 (patch) | |
tree | b1a8079be2cfff78ebc8c07e71e2bf08656a2f2f /drivers/usb/cdns3/cdns3-debug.h | |
parent | 4ebd92d2e228ceb33bafa273fd9cb2b16615cdd4 (diff) |
clk: zynqmp: Add support for clock with CLK_DIVIDER_POWER_OF_TWO flag
Existing clock divider functions is not checking for
base of divider. So, if any clock divider is power of 2
then clock rate calculation will be wrong.
Add support to calculate divider value for the clocks
with CLK_DIVIDER_POWER_OF_TWO flag.
Signed-off-by: Tejas Patel <[email protected]>
Signed-off-by: Radhey Shyam Pandey <[email protected]>
Signed-off-by: Rajan Vaja <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions