mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
Revert "usb: xhci: remove option to change a default ring's TRB cycle bit"
Revert commit9b28ef1e4cwhich is upstream commite1b0fa8639It causes regression in 6.12.49 stable, no issues in upstream. Commit9b28ef1e4c("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 commita5c98e8b13("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, commita5c98e8b13("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>
This commit is contained in:
parent
17195a7d75
commit
cbfd3c7d4e
4 changed files with 33 additions and 27 deletions
Loading…
Add table
Add a link
Reference in a new issue