]> git.baikalelectronics.ru Git - kernel.git/commit
usb: host: xhci: fix ep context print mismatch in debugfs
authorLi Jun <jun.li@nxp.com>
Fri, 21 Aug 2020 09:15:47 +0000 (12:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Aug 2020 15:12:13 +0000 (17:12 +0200)
commitb69b0192cb21e6930dd6297ca688db9278433914
treee44accdc9aaf0c03238bfa455d2be053147ae1a5
parent75cdd5481dcca7a80da2098bec080978dd06d948
usb: host: xhci: fix ep context print mismatch in debugfs

dci is 0 based and xhci_get_ep_ctx() will do ep index increment to get
the ep context.

[rename dci to ep_index -Mathias]
Cc: stable <stable@vger.kernel.org> # v4.15+
Fixes: a191edfed15e ("usb: xhci: Add debugfs interface for xHCI driver")
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20200821091549.20556-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-debugfs.c