aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinyu Yuan <quic_linyyuan@quicinc.com>2022-03-03 13:09:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-03 15:46:08 +0100
commitddfaee6255945a59f897033ffb55cfcdc5bcf946 (patch)
tree936c6704ac1c5b7629a4cf4c41430cc5b76cef85
parentusb: host: xhci: use ffs() in xhci_mem_init() (diff)
downloadlinux-dev-ddfaee6255945a59f897033ffb55cfcdc5bcf946.tar.xz
linux-dev-ddfaee6255945a59f897033ffb55cfcdc5bcf946.zip
usb: host: xhci: fix a comment typo in xhci_mem_init()
It should be Device Context, not doorbell. Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20220303110903.1662404-7-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/host/xhci-mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index 938eb2b907ab..bbb27ee2c6a3 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -2417,7 +2417,7 @@ int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags)
writel(val, &xhci->op_regs->config_reg);
/*
- * xHCI section 5.4.6 - doorbell array must be
+ * xHCI section 5.4.6 - Device Context array must be
* "physically contiguous and 64-byte (cache line) aligned".
*/
xhci->dcbaa = dma_alloc_coherent(dev, sizeof(*xhci->dcbaa), &dma,