Bartlomiej Zolnierkiewicz 08a4d8ec42 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>
2017-08-21 10:39:12 +02:00
..
2017-07-06 08:29:16 +02:00
2017-08-21 10:39:08 +02:00
2017-08-21 08:11:24 +02:00
2017-04-06 17:45:03 +02:00
2017-01-19 00:38:17 +01:00
2017-01-25 16:11:55 +00:00
2017-07-06 09:05:21 +02:00
2017-08-21 08:11:24 +02:00
2016-11-29 16:43:24 +01:00