diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2019-10-17 12:56:00 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-12-09 10:05:43 +0100 |
commit | a3597d6c89d70ff0bcb1dd74dc0a88442fe79da6 (patch) | |
tree | 302f0ee7904e2c5221b200675f50322be716535f /drivers/pwm/pwm-ep93xx.c | |
parent | 1db37f9561b2b3f57d84b6253a9cd97f6289f8e1 (diff) |
pwm: imx27: Cache duty cycle register value
The hardware register containing the duty cycle value cannot be accessed
when the PWM is disabled. This causes the ->get_state() callback to read
back a duty cycle value of 0, which can confuse consumer drivers.
Tested-by: Michal Vokáč <michal.vokac@ysoft.com>
Tested-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-ep93xx.c')
0 files changed, 0 insertions, 0 deletions