From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Darren Hart <dvhart@infradead.org>, Marco Trevisan <mail@3v1n0.net>
Cc: platform-driver-x86@vger.kernel.org, "Pali Rohár" <pali.rohar@gmail.com>
Subject: Re: [PATCH] thinkpad_acpi: save kbdlight state on suspend and restore it on resume
Date: Tue, 24 May 2016 12:27:51 -0300 [thread overview]
Message-ID: <1464103671.3536046.617301193.668855E8@webmail.messagingengine.com> (raw)
In-Reply-To: <20160523215752.GC2735@f23x64.localdomain>
On Mon, May 23, 2016, at 18:57, Darren Hart wrote:
> On Thu, May 19, 2016 at 03:23:02AM +0200, Marco Trevisan wrote:
> > From: Marco Trevisan (Treviño) <mail@3v1n0.net>
> >
> > Override default LED class suspend/resume handles, by keeping track of
> > the brightness level before suspending so that it can be automatically
> > restored on resume by calling default resume handler.
> >
> > Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
>
> The patch requires a Signed-off-by. I presume that should be from Marco?
>
> Henrique, is this Acked-by from you accurate? I need to see maintainers
> respond
> on list as they would likely object to me just taking other people's word
> for it
> in other scenarios ;-)
Yeah, I acked it. Sorry it took a few days to reply to this email.
This is not the "best" fix, but it is by far the less troublesome one:
hooking to the internal event from the thinkpad DSDT and updating the
brightness shadow register in the driver should work, but that will
require testing as we cannot really take for granted that we will get
that event on every firmware out there without going over the DSDT AML
of a lot of models.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
next prev parent reply other threads:[~2016-05-24 15:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-19 1:23 [PATCH] thinkpad_acpi: save kbdlight state on suspend and restore it on resume Marco Trevisan
2016-05-19 7:52 ` Pali Rohár
2016-05-20 3:03 ` Marco Trevisan (Treviño)
2016-05-23 22:09 ` Darren Hart
2016-05-23 21:57 ` Darren Hart
2016-05-23 22:04 ` Pali Rohár
2016-05-23 22:10 ` Marco Trevisan (Treviño)
2016-05-23 22:21 ` Darren Hart
2016-05-23 22:08 ` Marco Trevisan (Treviño)
2016-05-23 22:20 ` Darren Hart
2016-05-24 15:27 ` Henrique de Moraes Holschuh [this message]
2016-05-23 22:39 ` [PATCH v2] " Marco Trevisan
2016-05-24 15:49 ` Darren Hart
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=1464103671.3536046.617301193.668855E8@webmail.messagingengine.com \
--to=hmh@hmh.eng.br \
--cc=dvhart@infradead.org \
--cc=mail@3v1n0.net \
--cc=pali.rohar@gmail.com \
--cc=platform-driver-x86@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox