aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/async_tx/async_tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/async_tx/async_tx.c')
-rw-r--r--crypto/async_tx/async_tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/async_tx/async_tx.c b/crypto/async_tx/async_tx.c
index 06eb6cc09fef..3766bc3d7d89 100644
--- a/crypto/async_tx/async_tx.c
+++ b/crypto/async_tx/async_tx.c
@@ -223,7 +223,7 @@ async_tx_submit(struct dma_chan *chan, struct dma_async_tx_descriptor *tx,
223 if (flags & ASYNC_TX_ACK) 223 if (flags & ASYNC_TX_ACK)
224 async_tx_ack(tx); 224 async_tx_ack(tx);
225 225
226 if (depend_tx && (flags & ASYNC_TX_DEP_ACK)) 226 if (depend_tx)
227 async_tx_ack(depend_tx); 227 async_tx_ack(depend_tx);
228} 228}
229EXPORT_SYMBOL_GPL(async_tx_submit); 229EXPORT_SYMBOL_GPL(async_tx_submit);
@@ -231,7 +231,7 @@ EXPORT_SYMBOL_GPL(async_tx_submit);
231/** 231/**
232 * async_trigger_callback - schedules the callback function to be run after 232 * async_trigger_callback - schedules the callback function to be run after
233 * any dependent operations have been completed. 233 * any dependent operations have been completed.
234 * @flags: ASYNC_TX_ACK, ASYNC_TX_DEP_ACK 234 * @flags: ASYNC_TX_ACK
235 * @depend_tx: 'callback' requires the completion of this transaction 235 * @depend_tx: 'callback' requires the completion of this transaction
236 * @cb_fn: function to call after depend_tx completes 236 * @cb_fn: function to call after depend_tx completes
237 * @cb_param: parameter to pass to the callback routine 237 * @cb_param: parameter to pass to the callback routine