projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0f13e
)
usb: host: oxu210hp: Fix a function name in comments
author
Cai Huoqing
<caihuoqing@baidu.com>
Sat, 25 Sep 2021 12:49:19 +0000
(20:49 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 10:44:56 +0000
(12:44 +0200)
Use dma_map_single() instead of pci_map_single(),
because only dma_map_single() is called here.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Link:
https://lore.kernel.org/r/20210925124920.1564-3-caihuoqing@baidu.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/oxu210hp-hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/oxu210hp-hcd.c
b/drivers/usb/host/oxu210hp-hcd.c
index 4300326b3730d6c0945d6a24c8e6accf6799d451..e82ff2a49672d0de2c06233d225f429be53d2d04 100644
(file)
--- a/
drivers/usb/host/oxu210hp-hcd.c
+++ b/
drivers/usb/host/oxu210hp-hcd.c
@@
-3131,7
+3131,7
@@
static int oxu_run(struct usb_hcd *hcd)
/* hcc_params controls whether oxu->regs->segment must (!!!)
* be used; it constrains QH/ITD/SITD and QTD locations.
* dma_pool consistent memory always uses segment zero.
- * streaming mappings for I/O buffers, like
pci
_map_single(),
+ * streaming mappings for I/O buffers, like
dma
_map_single(),
* can return segments above 4GB, if the device allows.
*
* NOTE: the dma mask is visible through dev->dma_mask, so