Files
linux/drivers/pwm/pwm-clps711x.c
Alexander Shiyan 7281cde1d3 pwm: clps711x: Fix period calculation
[ Upstream commit b0f17570b8 ]

Commit e39c0df1be ("pwm: Introduce the pwm_args concept") has
changed the variable for the period for clps711x-pwm driver, so now
pwm_get/set_period() works with pwm->state.period variable instead
of pwm->args.period.
This patch changes the period variable in other places where it is used.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 09:20:50 +01:00

4.3 KiB