mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +00:00
pwm: hibvt: Explicitly set .polarity in .get_state()
[ Upstream commit6f57937980] 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>
This commit is contained in:
parent
547cc8dae2
commit
98ba763cc9
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue