aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/dma/dw/core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/dma/dw/core.c b/drivers/dma/dw/core.c
index 455b7a4f1e87..ac4fc0995a3e 100644
--- a/drivers/dma/dw/core.c
+++ b/drivers/dma/dw/core.c
@@ -230,7 +230,8 @@ static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first)
230 /* ASSERT: channel is idle */ 230 /* ASSERT: channel is idle */
231 if (dma_readl(dw, CH_EN) & dwc->mask) { 231 if (dma_readl(dw, CH_EN) & dwc->mask) {
232 dev_err(chan2dev(&dwc->chan), 232 dev_err(chan2dev(&dwc->chan),
233 "BUG: Attempted to start non-idle channel\n"); 233 "%s: BUG: Attempted to start non-idle channel\n",
234 __func__);
234 dwc_dump_chan_regs(dwc); 235 dwc_dump_chan_regs(dwc);
235 236
236 /* The tasklet will hopefully advance the queue... */ 237 /* The tasklet will hopefully advance the queue... */
@@ -1261,7 +1262,8 @@ int dw_dma_cyclic_start(struct dma_chan *chan)
1261 /* Assert channel is idle */ 1262 /* Assert channel is idle */
1262 if (dma_readl(dw, CH_EN) & dwc->mask) { 1263 if (dma_readl(dw, CH_EN) & dwc->mask) {
1263 dev_err(chan2dev(&dwc->chan), 1264 dev_err(chan2dev(&dwc->chan),
1264 "BUG: Attempted to start non-idle channel\n"); 1265 "%s: BUG: Attempted to start non-idle channel\n",
1266 __func__);
1265 dwc_dump_chan_regs(dwc); 1267 dwc_dump_chan_regs(dwc);
1266 spin_unlock_irqrestore(&dwc->lock, flags); 1268 spin_unlock_irqrestore(&dwc->lock, flags);
1267 return -EBUSY; 1269 return -EBUSY;