diff options
| author | Uwe Kleine-König <[email protected]> | 2019-08-24 15:37:03 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2019-09-20 23:48:54 +0000 |
| commit | 01ccf903edd65f6421612321648fa5a7f4b7cb10 (patch) | |
| tree | 7f91aa81ecbdb830970221e6b4b1743d4b594792 /drivers/pwm/pwm-stm32.c | |
| parent | pwm: Introduce local struct pwm_chip in pwm_apply_state() (diff) | |
| download | kernel-01ccf903edd65f6421612321648fa5a7f4b7cb10.tar.gz kernel-01ccf903edd65f6421612321648fa5a7f4b7cb10.zip | |
pwm: Let pwm_get_state() return the last implemented state
When pwm_apply_state() is called the lowlevel driver usually has to
apply some rounding because the hardware doesn't support nanosecond
resolution. So let pwm_get_state() return the actually implemented state
instead of the last applied one if possible.
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions
