summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-bcm-kona.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2018-12-19 13:39:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 15:37:48 +0100
commit3e5d1310f341064b9325d93fee11221708aa6e67 (patch)
tree78c1ac65ccd50d2c47ef5189faf70df185e22b4a /drivers/pwm/pwm-bcm-kona.c
parent97dbfe465b0435c79733b9231110c98e4c00f630 (diff)
pwm: clps711x: Fix period calculation
[ Upstream commit b0f17570b8203c22f139459c86cfbaa0311313ed ] Commit e39c0df1be5a ("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>
Diffstat (limited to 'drivers/pwm/pwm-bcm-kona.c')
0 files changed, 0 insertions, 0 deletions