aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-meson.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-05-30 15:32:07 -0400
committerThierry Reding <thierry.reding@gmail.com>2017-07-06 03:05:17 -0400
commit93e0dfb2c52f9cb7a7899156475b4e7b0bee7de3 (patch)
treee3e9a4b474c39aa289753b483028b6bde39de453 /drivers/pwm/pwm-meson.c
parentc034a6fda0179a85cd571c386ed6748188b0a79c (diff)
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/pwm/pwm-meson.c')
0 files changed, 0 insertions, 0 deletions