pwm: rockchip: Add support for atomic update
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 14 Jun 2016 09:13:14 +0000 (11:13 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 11 Jul 2016 10:49:28 +0000 (12:49 +0200)
commit2bf1c98aa5a41651f5e6455117ff06f66ff3cc50
tree469ae6c684fb38ca7d9f81a47f8a7d06875a5d16
parent48cf973cae33488f84d7ab79a0f613383cff4de4
pwm: rockchip: Add support for atomic update

Implement the ->apply() function to add support for atomic update.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-rockchip.c