Messages in this thread | | | From | Henry Lin <> | Subject | Re: [PATCH] xhci: fix runtime PM imbalance in USB2 resume | Date | Fri, 25 Feb 2022 06:40:53 +0000 |
| |
It fixes side effect from below change.
commit a231ec41e6f6433daf4c693f169f6c5cfda8cb9d Author: Mathias Nyman <mathias.nyman@linux.intel.com> Date: Fri Dec 7 16:19:35 2018 +0200
xhci: refactor U0 link state handling in get_port_status
Move U0 link state handing to USB3 and USB2 specific functions
Note that bus_state->resuming_ports: bus_state->resume_done[]: are only used for USB2, and don't need to cleared for USB3 ports
No functional changes
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--nvpublic ________________________________________ From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Sent: Friday, February 25, 2022 2:23 PM To: Henry Lin Cc: mathias.nyman@intel.com; linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] xhci: fix runtime PM imbalance in USB2 resume
External email: Use caution opening links or attachments
On Fri, Feb 25, 2022 at 01:53:11PM +0800, Henry Lin wrote: > USB2 resume starts with usb_hcd_start_port_resume() in port status > change handling for RESUME link state. usb_hcd_end_port_resume() call is > needed to keep runtime PM balance. > > Signed-off-by: Henry Lin <henryl@nvidia.com> > --- > drivers/usb/host/xhci-hub.c | 2 ++ > 1 file changed, 2 insertions(+)
What commit does this fix?
| |