lkml.org 
[lkml]   [2017]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2017-08-21 10:34    [W:0.070 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site