pwm: rockchip: Add support for hardware readout
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 14 Jun 2016 09:13:12 +0000 (11:13 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 11 Jul 2016 10:49:27 +0000 (12:49 +0200)
commit1ebb74cf3537135f157beddf1a4366070155edda
tree847bd545aabb5459217c9bddf9be2cbf25e49e20
parent12f9ce4a519845070d338253ab9528b5d7e2df34
pwm: rockchip: Add support for hardware readout

Implement the ->get_state() function to expose initial state.

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>
drivers/pwm/pwm-rockchip.c