diff options
author | Uwe Kleine-König <uwe@kleine-koenig.org> | 2019-08-24 03:10:41 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-01-08 15:47:46 +0300 |
commit | 651b510a74d4e473281efc4eaf2a83963988de48 (patch) | |
tree | f72b2cba2e7325e28b480acf2f1eb8ff8af19a4a /drivers/pwm/Kconfig | |
parent | 02afb811e0cf96958ac69c4b3372088180c829a7 (diff) | |
download | linux-651b510a74d4e473281efc4eaf2a83963988de48.tar.xz |
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/Kconfig')
0 files changed, 0 insertions, 0 deletions