Skip to content
Commit d1ca30e8 authored by Tim Lin's avatar Tim Lin Committed by Henrik Brix Andersen
Browse files

ITE: drivers/pwm: Optimize the PWM set cycles



It takes 11 CPU ticks to recalculate ctr and cxcprs at the same frequency.
The previously calculated ctr and cxcprs can be stored at the same
frequency without recalculation.

Signed-off-by: default avatarTim Lin <tim2.lin@ite.corp-partner.google.com>
parent 2368623f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment