diff options
author | Uwe Kleine-König <uwe@kleine-koenig.org> | 2019-08-24 02:10:41 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-01-08 13:47:46 +0100 |
commit | 651b510a74d4e473281efc4eaf2a83963988de48 (patch) | |
tree | f72b2cba2e7325e28b480acf2f1eb8ff8af19a4a /drivers/pwm/pwm-ab8500.c | |
parent | 02afb811e0cf96958ac69c4b3372088180c829a7 (diff) |
pwm: atmel: Implement .get_state()
This function reads back the configured parameters from the hardware. As
.apply() rounds down (mostly) I'm rounding up in .get_state() to achieve
that applying a state just read from hardware is a no-op.
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Acked-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-ab8500.c')
0 files changed, 0 insertions, 0 deletions