summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-ab8500.c
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2019-08-24 02:10:41 +0200
committerThierry Reding <thierry.reding@gmail.com>2020-01-08 13:47:46 +0100
commit651b510a74d4e473281efc4eaf2a83963988de48 (patch)
treef72b2cba2e7325e28b480acf2f1eb8ff8af19a4a /drivers/pwm/pwm-ab8500.c
parent02afb811e0cf96958ac69c4b3372088180c829a7 (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