]> git.ipfire.org Git - people/arne_f/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)
commit0077b1b2c8d9ad5f7a08b62fb8524cdb9938388f
treee44accdc9aaf0c03238bfa455d2be053147ae1a5
parent9a469bc9f32dd33c7aac5744669d21a023a719cd
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: 02b6fdc2a153 ("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