diff options
| author | Uwe Kleine-König <[email protected]> | 2019-08-24 00:10:41 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2020-01-08 12:47:46 +0000 |
| commit | 651b510a74d4e473281efc4eaf2a83963988de48 (patch) | |
| tree | f72b2cba2e7325e28b480acf2f1eb8ff8af19a4a /drivers/pwm/pwm-stm32.c | |
| parent | pwm: atmel: Use register accessors for channels (diff) | |
| download | kernel-651b510a74d4e473281efc4eaf2a83963988de48.tar.gz kernel-651b510a74d4e473281efc4eaf2a83963988de48.zip | |
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 <[email protected]>
Acked-by: Claudiu Beznea <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions
