diff options
author | Jim Lin <jilin@nvidia.com> | 2022-11-11 18:18:11 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-17 17:28:17 +0100 |
commit | 592338dde85411b1da74fa6b463e2a047c2545ab (patch) | |
tree | 0b65e8b0c955f1e376abf42c657246806dd7506d /drivers/usb/host/xhci-hub.c | |
parent | ee0e40efc4d1bd87c795233c8ceadf4228479c06 (diff) | |
download | linux-stable-592338dde85411b1da74fa6b463e2a047c2545ab.tar.gz linux-stable-592338dde85411b1da74fa6b463e2a047c2545ab.tar.bz2 linux-stable-592338dde85411b1da74fa6b463e2a047c2545ab.zip |
xhci: Add hub_control to xhci_driver_overrides
Add a hub_control() callback to the xhci_driver_overrides structure to
allow host drivers to override the default hub_control function. This
is required for Tegra which requires device specific actions for power
management to be executed during USB state transitions.
Signed-off-by: Jim Lin <jilin@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20221111101813.32482-2-jilin@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-hub.c')
0 files changed, 0 insertions, 0 deletions