diff options
| author | Thierry Reding <[email protected]> | 2019-10-17 13:21:15 +0200 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2019-12-09 10:05:42 +0100 |
| commit | 1db37f9561b2b3f57d84b6253a9cd97f6289f8e1 (patch) | |
| tree | d18480a1e22b7443c3869c8d60d9966414182839 /scripts/gdb/linux/rbtree.py | |
| parent | cfc4c189bc70b1acc17e6f1abf1dc1c0ae890bd8 (diff) | |
pwm: cros-ec: Cache duty cycle value
The ChromeOS embedded controller doesn't differentiate between disabled
and duty cycle being 0. In order not to potentially confuse consumers,
cache the duty cycle and return the cached value instead of the real
value when the PWM is disabled.
Tested-by: Enric Balletbo i Serra <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions