[PATCH 0/2] usb: xhci: improve HCD page size & IMODI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Improves HCD page size validation and move it into its own function.
This function is built so that the page size can be set to any valid value.

Improve the interrupt moderation interval (IMODI), by removing the error
case, and instead setting the IMODI to the closes valid value.

All patches were applied and tested on v6.12-rc4.

Niklas Neronin (2):
  usb: xhci: improve HCD page size validation and setting
  usb: xhci: improve xhci_set_interrupter_moderation()

 drivers/usb/host/xhci-mem.c | 45 ++++++++++++++++++++-----------------
 drivers/usb/host/xhci.c     | 25 +++++++++++----------
 drivers/usb/host/xhci.h     | 13 ++++++-----
 3 files changed, 46 insertions(+), 37 deletions(-)

-- 
2.45.2





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux