Files
i2som-imx-linux/drivers
Uwe Kleine-König b22e8f427c pwm: atmel: Fix duty cycle calculation in .get_state()
[ Upstream commit 453e8b3d8e ]

The CDTY register contains the number of inactive cycles. .apply() does
this correctly, however .get_state() got this wrong.

Fixes: 651b510a74 ("pwm: atmel: Implement .get_state()")
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>
2021-05-19 10:13:04 +02:00
..
2021-05-14 09:50:24 +02:00
2021-05-11 14:47:26 +02:00
2021-04-16 11:43:22 +02:00