Re: [PATCH 2/2] platform/x86: Add driver for Yoga Tablet Mode switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 18, 2023 at 10:50 AM Andrew Kallmeyer <kallmeyeras@xxxxxxxxx> wrote:
>
> Hi Armin, would it work to add the second GUID to the existing
> wmi_driver wmi_device_id array? Then I could save the wmi_device in
> the driver data on probe. Later when I get the notification on the
> other GUID I would just call wmidev_evaluate_method on the saved
> pointer out of the private data.

Now that I have understood the multiple probe calls and went back to
read this, I realized that I would not be able to access the private
data of the notify device when handling the probe call for the query
device. Maybe you will have a good idea to solve this problem.

If not I do have this working with the deprecated call still.

- Andrew




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux