From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: "Zheng, Lv" <lv.zheng@intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
"Wysocki, Rafael J" <rafael.j.wysocki@intel.com>,
Mathias Nyman <mathias.nyman@linux.intel.com>,
Grant Likely <grant.likely@secretlab.ca>,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH 2/2] gpio / ACPI: add support for GPIO operation regions
Date: Sun, 15 Sep 2013 09:51:51 +0300 [thread overview]
Message-ID: <20130915065151.GK7393@intel.com> (raw)
In-Reply-To: <1AE640813FDE7649BE1B193DEA596E880246367A@SHSMSX101.ccr.corp.intel.com>
On Sat, Sep 14, 2013 at 12:10:37AM +0000, Zheng, Lv wrote:
> Is it possible to install the handler for ACPI_ROOT_OBJECT?
> Can it be achieved by implementing a setup callback?
Yes that can be done. However, that would mean that we always install the
operation region handler even if there is no suitable GPIO driver loaded.
With this patch we install the handler once the GPIO driver for this device
is registered. If nothing is registered no handlers will be installed.
What would be the advantage in doing what you propose?
> Maybe you can also eliminate acpi_attach_data usages by doing so.
I think we still need that for ACPI _EVT handling.
next prev parent reply other threads:[~2013-09-15 6:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-13 15:14 [PATCH 1/2] gpio / ACPI: register to ACPI events automatically Mika Westerberg
2013-09-13 15:14 ` [PATCH 2/2] gpio / ACPI: add support for GPIO operation regions Mika Westerberg
2013-09-13 15:55 ` Andy Shevchenko
2013-09-13 17:36 ` Mika Westerberg
2013-09-14 0:10 ` Zheng, Lv
2013-09-15 6:51 ` Mika Westerberg [this message]
2013-09-16 0:46 ` Zheng, Lv
2013-09-16 1:21 ` Zheng, Lv
2013-09-16 8:10 ` Mika Westerberg
2013-09-16 23:35 ` Zheng, Lv
2013-09-17 8:37 ` Mika Westerberg
2013-09-24 0:47 ` Zheng, Lv
2013-09-24 4:59 ` Mika Westerberg
2013-09-20 19:21 ` Linus Walleij
2013-09-23 10:48 ` Mika Westerberg
2013-09-20 19:08 ` [PATCH 1/2] gpio / ACPI: register to ACPI events automatically Linus Walleij
2013-09-23 10:52 ` Mika Westerberg
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=20130915065151.GK7393@intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=grant.likely@secretlab.ca \
--cc=linus.walleij@linaro.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lv.zheng@intel.com \
--cc=mathias.nyman@linux.intel.com \
--cc=rafael.j.wysocki@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).