Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pwm: meson: remove not needed check in meson_pwm_calc
period >= duty implies that cnt >= duty_cnt. We verified before that cnt <= 0xffff, therefore we can omit the check here. Suggested-by: Uwe Kleine-König <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
- Loading branch information