[PATCH 0/3] usb: xhci: improve Endpoint Context Field 0x08 macros

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

 



Improve and utilize Endpoint Context Field 0x08 mask macros.

In multiple places, the Endpoint Context mask values are hardcoded or
include reserved bits. Replacing hardcoded masks with their correct
corresponding macros improves code readability, maintainability.

Niklas Neronin (3):
  usb: xhci: use correct TR Dequeue pointer mask
  usb: xhci: improve TR Dequeue Pointer macro
  usb: xhci: replace hardcoded Endpoint context masks with corresponding
    macros

 drivers/usb/host/xhci-ring.c | 13 +++++++------
 drivers/usb/host/xhci.h      |  3 ++-
 2 files changed, 9 insertions(+), 7 deletions(-)

-- 
2.47.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