Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xhci: guard accesses to ep_state in xhci_endpoint_reset()
commit a01ba2a3378be85538e0183ae5367c1bc1d5aaf3 upstream. See raspberrypi/linux#3981 Two read-modify-write cycles on ep->ep_state are not guarded by xhci->lock. Fix these. Fixes: f524946 ("xhci: Clear the host side toggle manually when endpoint is soft reset") Cc: [email protected] Signed-off-by: Jonathan Bell <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information