ARM: OMAP: Fix chain_a_transfer return value
This patch changes the return value of omap_dma_chain_a_transfer to 0 on success instead of the flag 'start_dma', which wasn't really useful for anything. Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
271c487e91
commit
f4b6a7ef6c
@ -1248,7 +1248,7 @@ EXPORT_SYMBOL(omap_dma_chain_status);
|
|||||||
* @param frame_count
|
* @param frame_count
|
||||||
* @param callbk_data - channel callback parameter data.
|
* @param callbk_data - channel callback parameter data.
|
||||||
*
|
*
|
||||||
* @return - Success : start_dma status
|
* @return - Success : 0
|
||||||
* Failure: -EINVAL/-EBUSY
|
* Failure: -EINVAL/-EBUSY
|
||||||
*/
|
*/
|
||||||
int omap_dma_chain_a_transfer(int chain_id, int src_start, int dest_start,
|
int omap_dma_chain_a_transfer(int chain_id, int src_start, int dest_start,
|
||||||
@ -1367,7 +1367,7 @@ int omap_dma_chain_a_transfer(int chain_id, int src_start, int dest_start,
|
|||||||
dma_chan[lch].flags |= OMAP_DMA_ACTIVE;
|
dma_chan[lch].flags |= OMAP_DMA_ACTIVE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return start_dma;
|
return 0;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(omap_dma_chain_a_transfer);
|
EXPORT_SYMBOL(omap_dma_chain_a_transfer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user