On 01/09/2017 07:06 PM, Alexandre Bailon wrote:
cppi41_dma_issue_pending() may be called while the device is runtime suspended. In that case, the descritpor will be push to the pending
"Descriptor" and "pushed".
list and then be queued to hardware queue. But if cppi41_stop_chan() is called before the device got time to resume, then the descriptor will remain in the pending list and be queued to hardware queue after the teardown. During the channel stop, check if there is a pendding descriptor
Pending.
and if so, remove it. Signed-off-by: Alexandre Bailon <abailon@xxxxxxxxxxxx>
[...] MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html