diff options
author | Maxime Ripard <[email protected]> | 2014-07-01 11:33:16 +0200 |
---|---|---|
committer | Nicolas Ferre <[email protected]> | 2014-09-02 18:52:22 +0200 |
commit | 2d7fdbe23c990a843177e3bff9a093d2f5fa4e02 (patch) | |
tree | 73a2cd1803d3bc92dccdc0955ceb3eaa68bc8a05 /include/linux/fpga/fpga-mgr.h | |
parent | 1bd59dbe53d9913420ae751d0447e769fd22cbf5 (diff) |
ARM: at91: PIT: Use DIV_ROUND_CLOSEST to compute the cycles
Until now, the pit_cycle computation was dividing the rate by HZ, rounding to
the closest integer, but without using the appropriate macro.
Signed-off-by: Maxime Ripard <[email protected]>
Acked-by: Boris BREZILLON <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Signed-off-by: Nicolas Ferre <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions