After dynamically alloc/free tx descriptors enabled, the descriptors
will be freed in PXP ISR which happens before pxp_buf_free() is called.
Signed-off-by: Fancy Fang <B47543@freescale.com>
static void pxp_buf_free(struct videobuf_queue *q, struct pxp_buffer *buf)
{
struct videobuf_buffer *vb = &buf->vb;
- struct dma_async_tx_descriptor *txd = buf->txd;
BUG_ON(in_interrupt());
* longer in STATE_QUEUED or STATE_ACTIVE
*/
videobuf_waiton(q, vb, 0, 0);
- if (txd)
- async_tx_ack(txd);
videobuf_dma_contig_free(q, vb);
buf->txd = NULL;