Messages in this thread | | | Date | Mon, 21 Aug 2017 10:34:17 +0200 | From | Thierry Reding <> | Subject | Re: [PATCH v2 2/3] pwm: pwm-samsung: fix suspend/resume support |
| |
On Mon, Apr 24, 2017 at 12:01:08PM +0200, Bartlomiej Zolnierkiewicz wrote: > 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> > --- > drivers/pwm/pwm-samsung.c | 67 +++++++++++++++++++++++++---------------------- > 1 file changed, 35 insertions(+), 32 deletions(-)
Applied to for-4.14/drivers, thanks.
Thierry [unhandled content-type:application/pgp-signature] | |