mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-09 11:00:49 +01:00
serial: sh: use DMA_COMPLETE for dma completion status
Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Dan Williams <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
1 parent
157efa8cfa
commit
0b3d7d39f5
1 file changed
+1
-1
@@ -1433,7 +1433,7 @@ static void work_fn_rx(struct work_struct *work)
|
||||
desc = s->desc_rx[new];
|
||||
|
||||
if (dma_async_is_tx_complete(s->chan_rx, s->active_rx, NULL, NULL) !=
|
||||
DMA_SUCCESS) {
|
||||
DMA_COMPLETE) {
|
||||
/* Handle incomplete DMA receive */
|
||||
struct dma_chan *chan = s->chan_rx;
|
||||
struct shdma_desc *sh_desc = container_of(desc,
|
||||
|
||||
Reference in new issue
Block a user