Commit 5dbcfdaf authored by Mathias Nyman's avatar Mathias Nyman Committed by Treehugger Robot
Browse files

UPSTREAM: xhci: Simplify event ring dequeue pointer update for port change events



Increase the event ring dequeue pointer for port change events in the
same way as other event types. No need to handle it separately.

This only touches the driver side tracking of event ring dequeue.

Note: this does move forward the event ring dequeue increase for port
change events a bit.
Previously the dequeue was increased before temporarily dropping
the xhci lock while kicking roothub polling.
Now dequeue is increased after re-aquiring the lock.

This should not matter as event ring dequeue is not touched at all by
hub thread. It's only touched in xhci interrupt handler.

Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20231019102924.2797346-14-mathias.nyman@linux.intel.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 264371591
Change-Id: Id12f0a98a52d7126b3e064913e515d6b7d7167e2
(cherry picked from commit d1830364)
Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>
parent b7a1562e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment