Re: [PATCH v2] Add driver to force WMI Thunderbolt controller power status
From: Darren Hart
Date: Mon Sep 11 2017 - 17:40:30 EST
On Mon, Sep 11, 2017 at 12:46:14PM +0300, Mika Westerberg wrote:
> On Mon, Sep 11, 2017 at 02:39:55AM -0700, Darren Hart wrote:
> > Which device are you referring to? This attribute is bound to the device
> > identified by the WMI GUID, and should be independent from the controller or any
> > thunderbolt connected physical device.
>
> I refer to "wdev->dev" whatever that is. That device has been created
> long time before this driver is probed and thus userspace already got
> the KOBJ_ADD uevent.
>
Ah yes, I see - at the time of device_register. Thanks Mika.
--
Darren Hart
VMware Open Source Technology Center