Revert "usb: xhci: remove option to change a default ring's TRB cycle bit"
Revert commit 9b28ef1e which is upstream commit e1b0fa86 It causes regression in 6.12.49 stable, no issues in upstream. Commit 9b28ef1e ("usb: xhci: remove option to change a default ring's TRB cycle bit") introduced a regression in 6.12.49 stable kernel. The original commit was never intended for stable kernels, but was added as a dependency for commit a5c98e8b ("xhci: dbc: Fix full DbC transfer ring after several reconnects"). Since this commit is more of an optimization, revert it and solve the dependecy by modifying one line in xhci_dbc_ring_init(). Specifically, commit a5c98e8b ("xhci: dbc: Fix full DbC transfer ring after several reconnects") moved function call xhci_initialize_ring_info() into a separate function. To resolve the dependency, the arguments for this function call are also reverted. Closes: https://lore.kernel.org/stable/01b8c8de46251cfaad1329a46b7e3738@stwm.de/ Tested-by:Wolfgang Walter <linux@stwm.de> Cc: stable@vger.kernel.org # v6.12.49 Signed-off-by:
Niklas Neronin <niklas.neronin@linux.intel.com> Acked-by:
Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading