diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-05-30 22:32:07 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-07-06 10:05:17 +0300 |
commit | 93e0dfb2c52f9cb7a7899156475b4e7b0bee7de3 (patch) | |
tree | e3e9a4b474c39aa289753b483028b6bde39de453 /drivers/pinctrl | |
parent | c034a6fda0179a85cd571c386ed6748188b0a79c (diff) | |
download | linux-93e0dfb2c52f9cb7a7899156475b4e7b0bee7de3.tar.xz |
pwm: sun4i: Improve hardware read out
Implement .get_state instead of only reading the polarity at probe time.
This allows to get the proper state, period and duty cycle.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions