From: Thierry Reding <thierry.reding@gmail.com>
To: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Kamil Debski <kamil@wypas.org>,
Tomasz Figa <tomasz.figa@gmail.com>,
linux-pwm@vger.kernel.org, linux-hwmon@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH v2 2/3] pwm: pwm-samsung: fix suspend/resume support
Date: Mon, 21 Aug 2017 10:34:17 +0200 [thread overview]
Message-ID: <20170821083417.GT18996@ulmo> (raw)
In-Reply-To: <1493028069-32003-3-git-send-email-b.zolnierkie@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 906 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-08-21 8:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20170424100128epcas5p20396f75d5626a320a9eb11d89ae87ac5@epcas5p2.samsung.com>
2017-04-24 10:01 ` [PATCH v2 0/3] pwm: pwm-samsung: fix suspend/resume support Bartlomiej Zolnierkiewicz
2017-04-24 10:01 ` [PATCH v2 1/3] pwm: pwm-samsung: remove redundant checks from pwm_samsung_config() Bartlomiej Zolnierkiewicz
2017-08-21 8:32 ` Thierry Reding
2017-04-24 10:01 ` [PATCH v2 2/3] pwm: pwm-samsung: fix suspend/resume support Bartlomiej Zolnierkiewicz
2017-08-21 8:34 ` Thierry Reding [this message]
2017-04-24 10:01 ` [PATCH v2 3/3] hwmon: pwm-fan: remove no longer needed suspend/resume code Bartlomiej Zolnierkiewicz
2017-06-29 11:14 ` [PATCH v2 0/3] pwm: pwm-samsung: fix suspend/resume support Bartlomiej Zolnierkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170821083417.GT18996@ulmo \
--to=thierry.reding@gmail.com \
--cc=b.zolnierkie@samsung.com \
--cc=jdelvare@suse.com \
--cc=kamil@wypas.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=tomasz.figa@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.