Files
linux/drivers
Uwe Kleine-König 98ba763cc9 pwm: hibvt: Explicitly set .polarity in .get_state()
[ Upstream commit 6f57937980 ]

The driver only both polarities. Complete the implementation of
.get_state() by setting .polarity according to the configured hardware
state.

Fixes: d09f008108 ("pwm: Add PWM driver for HiSilicon BVT SOCs")
Link: https://lore.kernel.org/r/20230228135508.1798428-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-13 16:55:18 +02:00
..
2023-02-09 11:28:25 +01:00
2023-04-06 12:10:44 +02:00
2023-04-06 12:10:46 +02:00
2023-04-06 12:10:58 +02:00
2023-03-10 09:34:32 +01:00