diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-06-14 12:13:13 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2016-07-11 13:49:27 +0300 |
commit | 48cf973cae33488f84d7ab79a0f613383cff4de4 (patch) | |
tree | 9a990cee1a27949b156050525318553adf63c807 /lib/rhashtable.c | |
parent | 1ebb74cf3537135f157beddf1a4366070155edda (diff) | |
download | linux-48cf973cae33488f84d7ab79a0f613383cff4de4.tar.xz |
pwm: rockchip: Avoid glitches on already running PWMs
The current logic will disable the PWM clk even if the PWM was left
enabled by the bootloader (because it's controlling a critical device
like a regulator for example).
Keep the PWM clk enabled if the PWM is enabled to avoid any glitches.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions