diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-04-06 09:30:36 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-04-09 14:17:03 +0200 |
commit | 1a7a6e8072ea0e4582de2da63a9088841fde798e (patch) | |
tree | c06c96d6547f620a8733a1134b1c01ab5207bcaf /README | |
parent | pwm: Drop function pwmchip_add_with_polarity() (diff) | |
download | linux-1a7a6e8072ea0e4582de2da63a9088841fde798e.tar.xz linux-1a7a6e8072ea0e4582de2da63a9088841fde798e.zip |
pwm: Clarify which state pwm_get_state() returns
Given that lowlevel drivers usually cannot implement exactly what a
consumer requests with pwm_apply_state() there is some rounding
involved.
pwm_get_state() returns the setting that was requested most recently by
the consumer (opposed to what was actually implemented in hardware in
reply to the last request). Clarify this in the function kerneldoc.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions