diff options
author | Laxman Dewangan <[email protected]> | 2017-04-13 19:40:27 +0530 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2017-04-13 17:35:40 +0200 |
commit | 46fa8bc08744c373d405a87430e0b3e13ae94b4c (patch) | |
tree | 3936ba632d247f98ce59baa31fef009c7faa28d9 /scripts/gdb/linux/proc.py | |
parent | c40c461e1944b9cfb520e04184ec1e5c80fb210b (diff) |
pwm: tegra: Read PWM clock source rate in driver init
It is required to know the PWM clock source frequency to calculate the
PWM period.
In driver, the clock source frequency of the PWM does not get change
and, hence, get the clock source frequency in driver init. Get this
values later for period calculation from pwm_config().
This will help in avoiding the clock call for getting clock rate in the
pwm_config() each time.
Signed-off-by: Laxman Dewangan <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions