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 <[email protected]>
> ---
>  drivers/pwm/pwm-samsung.c | 67 
> +++++++++++++++++++++++++----------------------
>  1 file changed, 35 insertions(+), 32 deletions(-)

Applied to for-4.14/drivers, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature

Reply via email to