summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2017-04-13 19:40:27 +0530
committerThierry Reding <thierry.reding@gmail.com>2017-04-13 17:35:40 +0200
commit46fa8bc08744c373d405a87430e0b3e13ae94b4c (patch)
tree3936ba632d247f98ce59baa31fef009c7faa28d9 /drivers/dma
parentc40c461e1944b9cfb520e04184ec1e5c80fb210b (diff)
downloadlinux-stable-46fa8bc08744c373d405a87430e0b3e13ae94b4c.tar.gz
linux-stable-46fa8bc08744c373d405a87430e0b3e13ae94b4c.tar.bz2
linux-stable-46fa8bc08744c373d405a87430e0b3e13ae94b4c.zip
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 <ldewangan@nvidia.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions