From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Jan-Hendrik Zab <jan@jhz.name>,
torvalds@linux-foundation.org, linux-input@vger.kernel.org
Subject: Re: Add Sony Vaio VPCZ1 series to the nopnp table
Date: Wed, 21 Apr 2010 10:07:50 -0700 [thread overview]
Message-ID: <20100421170750.GA10566@core.coreip.homeip.net> (raw)
In-Reply-To: <201004211035.38264.bjorn.helgaas@hp.com>
On Wed, Apr 21, 2010 at 10:35:37AM -0600, Bjorn Helgaas wrote:
> On Wednesday 21 April 2010 02:10:48 am Dmitry Torokhov wrote:
> > @@ -169,11 +182,17 @@ static int __init pnpacpi_add_device(struct acpi_device *device)
> > * driver should not be loaded.
> > */
> > status = acpi_get_handle(device->handle, "_CRS", &temp);
> > - if (ACPI_FAILURE(status) || !ispnpidacpi(acpi_device_hid(device)) ||
> > - is_exclusive_device(device) || (!device->status.present))
> > + if (ACPI_FAILURE(status))
> > + return 0;
> > +
> > + pnpid = pnpacpi_get_id(device);
> > + if (!pnpid)
> > + return 0;
>
> I think this makes sense, but I think we should also adjust the loop
> at the end of pnpacpi_add_device() that adds all the CIDs. As it
> currently works, I think your patch will cause this device to have
> two copies of the CID, e.g.,
>
> PNP0F13 PNP0F13
>
Yep, you are right. I will adjust it after I hear from Jan whether it
fixes his issue.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-04-21 17:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-29 23:32 [PATCH] Add Sony Vaio VPCZ1 series to the nopnp table Jan-Hendrik Zab
2010-03-29 23:39 ` Dmitry Torokhov
2010-03-30 20:39 ` Jan-Hendrik Zab
2010-04-14 23:34 ` Dmitry Torokhov
2010-04-19 9:46 ` Jan-Hendrik Zab
2010-04-21 7:01 ` Dmitry Torokhov
2010-04-21 8:10 ` Dmitry Torokhov
2010-04-21 16:35 ` Bjorn Helgaas
2010-04-21 17:07 ` Dmitry Torokhov [this message]
2010-04-22 9:09 ` Jan-Hendrik Zab
2010-05-05 23:03 ` Bjorn Helgaas
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=20100421170750.GA10566@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=bjorn.helgaas@hp.com \
--cc=jan@jhz.name \
--cc=linux-input@vger.kernel.org \
--cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).