dmaengine: Grammar s/the its/its/, s/need/needs/
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
committed by
Vinod Koul
parent
f4a9fe97ea
commit
fe333389cc
@ -73,7 +73,7 @@ static long dmaengine_ref_count;
|
|||||||
/* --- sysfs implementation --- */
|
/* --- sysfs implementation --- */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* dev_to_dma_chan - convert a device pointer to the its sysfs container object
|
* dev_to_dma_chan - convert a device pointer to its sysfs container object
|
||||||
* @dev - device node
|
* @dev - device node
|
||||||
*
|
*
|
||||||
* Must be called under dma_list_mutex
|
* Must be called under dma_list_mutex
|
||||||
@ -717,7 +717,7 @@ struct dma_chan *dma_request_chan(struct device *dev, const char *name)
|
|||||||
chan = acpi_dma_request_slave_chan_by_name(dev, name);
|
chan = acpi_dma_request_slave_chan_by_name(dev, name);
|
||||||
|
|
||||||
if (chan) {
|
if (chan) {
|
||||||
/* Valid channel found or requester need to be deferred */
|
/* Valid channel found or requester needs to be deferred */
|
||||||
if (!IS_ERR(chan) || PTR_ERR(chan) == -EPROBE_DEFER)
|
if (!IS_ERR(chan) || PTR_ERR(chan) == -EPROBE_DEFER)
|
||||||
return chan;
|
return chan;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user