summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-05-30 22:32:07 +0300
committerThierry Reding <thierry.reding@gmail.com>2017-07-06 10:05:17 +0300
commit93e0dfb2c52f9cb7a7899156475b4e7b0bee7de3 (patch)
treee3e9a4b474c39aa289753b483028b6bde39de453 /mm
parentc034a6fda0179a85cd571c386ed6748188b0a79c (diff)
downloadlinux-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 'mm')
0 files changed, 0 insertions, 0 deletions