Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: ehci: Fix a function name in comments

Use dma_map_single() instead of pci_map_single(),
because only dma_map_single() is called here.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20210925124920.1564-1-caihuoqing@baidu.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Cai Huoqing and committed by
Greg Kroah-Hartman
1cd27268 89e84f94

+1 -1
+1 -1
drivers/usb/host/ehci-hcd.c
··· 588 588 * hcc_params controls whether ehci->regs->segment must (!!!) 589 589 * be used; it constrains QH/ITD/SITD and QTD locations. 590 590 * dma_pool consistent memory always uses segment zero. 591 - * streaming mappings for I/O buffers, like pci_map_single(), 591 + * streaming mappings for I/O buffers, like dma_map_single(), 592 592 * can return segments above 4GB, if the device allows. 593 593 * 594 594 * NOTE: the dma mask is visible through dev->dma_mask, so