xhci: clear usb2 resume related variables in one place.
[ Upstream commit 0e627545 ] Initially resume related USB2 variables were cleared once port successfully resumed to U0. Later code was added to clean up stale resume variables in case of port failed to resume to U0. Clear the variables in one place after port is no longer resuming or in suspended U3 state. Signed-off-by:Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20230202150505.618915-11-mathias.nyman@linux.intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: d7cdfc31 ("xhci: track port suspend state correctly in unsuccessful resume cases") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment