lkml.org 
[lkml]   [2021]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] usb: ehci: Fix a function name in comments
On Sat, Sep 25, 2021 at 08:49:17PM +0800, Cai Huoqing wrote:
> 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>

Acked-by: Alan Stern <stern@rowland.harvard.edu>

> ---
> drivers/usb/host/ehci-hcd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
> index 144080321629..3d82e0b853be 100644
> --- a/drivers/usb/host/ehci-hcd.c
> +++ b/drivers/usb/host/ehci-hcd.c
> @@ -588,7 +588,7 @@ static int ehci_run (struct usb_hcd *hcd)
> * hcc_params controls whether ehci->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
> --
> 2.25.1
>

\
 
 \ /
  Last update: 2021-09-25 16:45    [W:1.749 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site