From: Vinod Koul Date: Fri, 5 Dec 2014 15:19:07 +0000 (+0530) Subject: dmaengine: clarify the issue_pending expectations X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aba96bada40d19a0afbc3bfcb3a47e29e23df7ea;p=linux-beck.git dmaengine: clarify the issue_pending expectations Although Documentation explicitly mentions the expectations, the comment in header can be lead to different expectation so clear up the confusion Signed-off-by: Vinod Koul --- diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 653a1fd07ae8..40cd75e21ea2 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -447,7 +447,8 @@ struct dmaengine_unmap_data { * communicate status * @phys: physical address of the descriptor * @chan: target channel for this operation - * @tx_submit: set the prepared descriptor(s) to be executed by the engine + * @tx_submit: accept the descriptor, assign ordered cookie and mark the + * descriptor pending. To be pushed on .issue_pending() call * @callback: routine to call after this operation is complete * @callback_param: general parameter to pass to the callback routine * ---async_tx api specific fields---