-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pwm: aspeed: Change the return value of get_cycles_per_sec.
This patch changes the return value of get_cycles_per_sec to HCLK instead of the value after dividing by the fixed divisor 256, which is used to ensure the granularity of the duty cycle to 256. After that will change the parameter "cycles" granularity of the PWM Common API from 1280ns to 5ns. Signed-off-by: Billy Tsai <[email protected]> Change-Id: I52e907c1eeeb94ed7ec83a8e753925febdde663b
- Loading branch information
1 parent
6ad1816
commit b46e590
Showing
1 changed file
with
11 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters