usb: host: fotg210: Fix a function name in comments
authorCai Huoqing <caihuoqing@baidu.com>
Sat, 25 Sep 2021 12:49:18 +0000 (20:49 +0800)
committerGreg 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-2-caihuoqing@baidu.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fotg210-hcd.c

index 4b02ace09f3dce4619482dd60c996a4cfcd3c022..296452625488b1dac2745e6f1f7200538fd5abd6 100644 (file)
@@ -5023,7 +5023,7 @@ static int fotg210_run(struct usb_hcd *hcd)
         * hcc_params controls whether fotg210->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