aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-cros-ec.c
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2017-05-30 21:32:07 +0200
committerThierry Reding <[email protected]>2017-07-06 09:05:17 +0200
commit93e0dfb2c52f9cb7a7899156475b4e7b0bee7de3 (patch)
treee3e9a4b474c39aa289753b483028b6bde39de453 /drivers/pwm/pwm-cros-ec.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 <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-cros-ec.c')
0 files changed, 0 insertions, 0 deletions