|
@@ -433,7 +433,7 @@ static struct dma_async_tx_descriptor *edma_prep_slave_sg(
|
|
|
dev_width = echan->cfg.dst_addr_width;
|
|
|
burst = echan->cfg.dst_maxburst;
|
|
|
} else {
|
|
|
- dev_err(dev, "%s: bad direction?\n", __func__);
|
|
|
+ dev_err(dev, "%s: bad direction: %d\n", __func__, direction);
|
|
|
return NULL;
|
|
|
}
|
|
|
|
|
@@ -526,7 +526,7 @@ static struct dma_async_tx_descriptor *edma_prep_dma_cyclic(
|
|
|
dev_width = echan->cfg.dst_addr_width;
|
|
|
burst = echan->cfg.dst_maxburst;
|
|
|
} else {
|
|
|
- dev_err(dev, "%s: bad direction?\n", __func__);
|
|
|
+ dev_err(dev, "%s: bad direction: %d\n", __func__, direction);
|
|
|
return NULL;
|
|
|
}
|
|
|
|