]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ARM: SAMSUNG: Add clk enable/disable of pwm
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 4 Nov 2011 01:39:34 +0000 (10:39 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 6 Nov 2011 04:53:01 +0000 (13:53 +0900)
commitd8633c1da161de7e0b880d919d305a97c01372f4
tree39848e1f3c3b155e214e819faafe30ff4185149b
parent8088041ee35604640760321621e3f058ea2c7061
ARM: SAMSUNG: Add clk enable/disable of pwm

PWM timers use pclk("timers" clk) as parent clk. If this pclk is the
disabled state when PWM driver is probed, then it causes wrong read and
write operation about registers of PWM.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/pwm.c