From: Thierry Reding <thierry.reding@gmail.com>
To: Barry Song <21cnbao@gmail.com>
Cc: linux-pwm@vger.kernel.org, workgroup.linux@csr.com,
Huayi Li <huayi.li@csr.com>, Barry Song <Baohua.Song@csr.com>
Subject: Re: [PATCH v2] pwm_backlight: avoid short blank screen while doing hibernation
Date: Tue, 22 Oct 2013 09:39:21 +0200 [thread overview]
Message-ID: <20131022073916.GC8681@ulmo.nvidia.com> (raw)
In-Reply-To: <1381285982-18670-1-git-send-email-Baohua.Song@csr.com>
[-- Attachment #1: Type: text/plain, Size: 971 bytes --]
On Wed, Oct 09, 2013 at 10:33:02AM +0800, Barry Song wrote:
> From: Huayi Li <huayi.li@csr.com>
>
> Use SIMPLE_DEV_PM_OPS macro will initialize the member "freeze"
> and "thaw" of pwm_backlight_pm_ops as below,
> .freeze = suspend_fn,
> .thaw = resume_fn,
> then during the process of making hibernation snapshot, screen
> will be blank at the moment of freezing, and then light at the
> moment of thawing.
> this is not the right user experience for suspending to disk.
>
> so this patch drops freeze and thaw callback, make the LCD is
> always lighting before the final shutdown.
>
> Signed-off-by: Huayi Li <huayi.li@csr.com>
> Signed-off-by: Barry Song <Baohua.Song@csr.com>
> ---
> -v2: move the #ifdef inside of the pwm_backlight_pwm_ops so that we
> don't have to clutter the platform_driver here
>
> drivers/video/backlight/pwm_bl.c | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
Applied, thanks.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2013-10-22 7:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-09 2:33 [PATCH v2] pwm_backlight: avoid short blank screen while doing hibernation Barry Song
2013-10-22 7:39 ` Thierry Reding [this message]
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=20131022073916.GC8681@ulmo.nvidia.com \
--to=thierry.reding@gmail.com \
--cc=21cnbao@gmail.com \
--cc=Baohua.Song@csr.com \
--cc=huayi.li@csr.com \
--cc=linux-pwm@vger.kernel.org \
--cc=workgroup.linux@csr.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.