Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pwm: sifive: Use 64-bit division macro
Since the PWM framework is switching struct pwm_args.period's datatype to u64, prepare for this transition by using DIV64_U64_ROUND_CLOSEST to handle a 64-bit divisor. Signed-off-by: Guru Das Srinagesh <[email protected]> Acked-by: Palmer Dabbelt <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
- Loading branch information