| Submitter | Sam Gandhi |
|---|---|
| Date | April 5, 2012, 12:03 p.m. |
| Message ID | <CAOdLEaoy8ARS=awimR6fN8EcX+FrqxaSr3VUG3rP3zrNLOf+Gw@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/150943/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/drivers/dma/dmaengine.h b/drivers/dma/dmaengine.h index 17f983a..3d10a70 100644 --- a/drivers/dma/dmaengine.h +++ b/drivers/dma/dmaengine.h @@ -50,7 +50,11 @@ static inline dma_cookie_t dma_cookie_assign(struct dma_async_tx_descriptor *tx) */ static inline void dma_cookie_complete(struct dma_async_tx_descriptor *tx) { - BUG_ON(tx->cookie < DMA_MIN_COOKIE); + if ( tx->cookie < DMA_MIN_COOKIE) + printk(KERN_ERR "Cookie %d, completed %d DMA_MIN %d ",tx->cookie, + tx->chan->completed_cookie, + DMA_MIN_COOKIE); + /* BUG_ON(tx->cookie < DMA_MIN_COOKIE); */ tx->chan->completed_cookie = tx->cookie;