summary refs log tree commit diff
path: root/fs/nls
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-04-24 12:01:08 +0200
committerThierry Reding <thierry.reding@gmail.com>2017-08-21 10:39:12 +0200
commit08a4d8ec4262c636010eaac99b5e5ea07f579643 (patch)
tree7a4c6cc2a4949f78eb9c65915df5734ea0878e1b /fs/nls
parent23aa19a22e7fcb49ebe198517d0a15b46810243f (diff)
downloadlinux-08a4d8ec4262c636010eaac99b5e5ea07f579643.tar.gz
pwm: pwm-samsung: fix suspend/resume support
Fix suspend/resume support:

- add disabled_mask to struct samsung_pwm_chip to track PWM
  disabled state information in pwm_samsung_{disable,enable}()

- rename pwm_samsung_config() to __pwm_samsung_config() and
  add extra force_period parameter to be used during resume
  (to force tin_ns and tcnt recalculation)

- add pwm_samsung_config() wrapper for preserving old behavior

- properly restore PWM configuration in pwm_samsung_resume()

- remove no longer needed pwm_samsung_suspend()

- update Copyrights

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'fs/nls')
0 files changed, 0 insertions, 0 deletions