diff options
author | Uwe Kleine-König <[email protected]> | 2023-03-22 22:45:40 +0100 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2023-03-23 14:44:40 +0100 |
commit | 6f57937980142715e927697a6ffd2050f38ed6f6 (patch) | |
tree | 2d9cb4bd7bf36153c36748dbc65c04c711cc928f /drivers/pwm/pwm-cros-ec.c | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) |
pwm: hibvt: Explicitly set .polarity in .get_state()
The driver only both polarities. Complete the implementation of
.get_state() by setting .polarity according to the configured hardware
state.
Fixes: d09f00810850 ("pwm: Add PWM driver for HiSilicon BVT SOCs")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-cros-ec.c')
0 files changed, 0 insertions, 0 deletions