[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1394220242.31116.2.camel@x230>
Date: Fri, 7 Mar 2014 19:24:03 +0000
From: Matthew Garrett <matthew.garrett@...ula.com>
To: "dmitry.torokhov@...il.com" <dmitry.torokhov@...il.com>
CC: "linux-input@...r.kernel.org" <linux-input@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"benjamin.tissoires@...hat.com" <benjamin.tissoires@...hat.com>
Subject: Re: [PATCH] input: Use platform-provided devices as i8042 serio
parents
On Fri, 2014-03-07 at 09:54 -0800, Dmitry Torokhov wrote:
> Hi Matthew,
>
> On Sun, Feb 23, 2014 at 12:03:16PM -0500, Matthew Garrett wrote:
> > i8042 devices exposed via platform firmware interfaces such as ACPI or
> > Device Tree may provide additional information of use to userspace. Right
> > now we don't associate the serio devices with the firmware device, and so
> > there's no straightforward way for userspace to make use of that
> > information. This patch simply moves the serio parent device to the firmware
> > provided device.
>
> Hmm, are we sure it will not mess up power management now that children
> serio ports are disconnected from i8042 device?
Urh. Yeah, that's a point - we probably no longer guarantee that the
i8042 resume code runs before any driver resume code. That's
inconvenient. We could probably add resume callbacks to the PNP devices,
but then we need to ensure that they only run once. I think we can do
that without too much trouble, but it's not going to be beautiful.
--
Matthew Garrett <matthew.garrett@...ula.com>
Powered by blists - more mailing lists