commit | b0f17570b8203c22f139459c86cfbaa0311313ed | [log] [tgz] |
---|---|---|
author | Alexander Shiyan <shc_work@mail.ru> | Wed Dec 19 13:39:24 2018 +0300 |
committer | Thierry Reding <thierry.reding@gmail.com> | Mon Dec 24 12:06:55 2018 +0100 |
tree | 966f149cd9efa8968811058132a5dbc4b3b902bc | |
parent | e747cbe257fdc08f1a8b19b4c9f75a377b6f783d [diff] |
pwm: clps711x: Fix period calculation 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>