提交 cba15617 编写于 作者: A Andy Shevchenko 提交者: Vinod Koul

dmaengine: dw: add debug message to dwc_dostart_first_queued

It would be useful to know when the first descriptor in the queue is started
along with its cookie.
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
上级 e7637c6c
...@@ -281,11 +281,15 @@ static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) ...@@ -281,11 +281,15 @@ static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first)
static void dwc_dostart_first_queued(struct dw_dma_chan *dwc) static void dwc_dostart_first_queued(struct dw_dma_chan *dwc)
{ {
struct dw_desc *desc;
if (list_empty(&dwc->queue)) if (list_empty(&dwc->queue))
return; return;
list_move(dwc->queue.next, &dwc->active_list); list_move(dwc->queue.next, &dwc->active_list);
dwc_dostart(dwc, dwc_first_active(dwc)); desc = dwc_first_active(dwc);
dev_vdbg(chan2dev(&dwc->chan), "%s: started %u\n", __func__, desc->txd.cookie);
dwc_dostart(dwc, desc);
} }
/*----------------------------------------------------------------------*/ /*----------------------------------------------------------------------*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册