lkml.org 
[lkml]   [2022]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH v1 0/2] usb: core: acpi: Rely on the sysdev pointer
    Date
    Hi,

    Since we have that sysdev pointer, we need to use it also when
    assigning the ACPI companion for the root hub. That should remove the
    need to "manually" assign the ACPI companion to the controller device
    in the xhci glue drivers like dwc3-host.c.

    Assigning the ACPI companion in those glue drivers is very
    problematic, because it screws up the fwnode->secondary pointer. But
    as said, since we have that sysdev pointer, there is no need to
    manually set it. sysdev pointer should always point to the correct
    physical device from firmware PoW.

    thanks,

    Heikki Krogerus (2):
    usb: core: acpi: Use the sysdev pointer instead of controller device
    usb: dwc3: host: Stop setting the ACPI companion

    drivers/usb/core/usb-acpi.c | 2 +-
    drivers/usb/dwc3/host.c | 2 --
    2 files changed, 1 insertion(+), 3 deletions(-)

    --
    2.35.1

    \
     
     \ /
      Last update: 2022-04-25 14:15    [W:6.270 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site