Loading
usb: host: xhci-sideband: delegate offload_usage tracking to class drivers
Remove usb_offload_get() and usb_offload_put() from the xHCI sideband interrupter creation and removal paths. The responsibility of manipulating offload_usage now lies entirely with the USB class drivers. They have the precise context of when an offload data stream actually starts and stops, ensuring a much more accurate representation of offload activity for power management. Cc: stable <stable@kernel.org> Fixes: ef82a480 ("xhci: sideband: add api to trace sideband usage") Signed-off-by:Guan-Yu Lin <guanyulin@google.com> Tested-by:
Hailong Liu <hailong.liu@oppo.com> Tested-by:
<hailong.liu@oppo.com> Acked-by:
Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://patch.msgid.link/20260401123238.3790062-3-guanyulin@google.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>