drivers: dma: dma_dw_common: Log start and stop in info level
The start and stop of the DMA channel provides useful information in default logs and they are not too frequent to cause bandwidth issues. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
This commit is contained in:
parent
f918aea733
commit
11f69be9fd
|
@ -476,6 +476,8 @@ int dw_dma_start(const struct device *dev, uint32_t channel)
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOG_INF("%s: channel %d start", dev->name, channel);
|
||||||
|
|
||||||
struct dw_lli *lli = chan_data->lli_current;
|
struct dw_lli *lli = chan_data->lli_current;
|
||||||
|
|
||||||
#ifdef CONFIG_DMA_DW_HW_LLI
|
#ifdef CONFIG_DMA_DW_HW_LLI
|
||||||
|
@ -576,7 +578,7 @@ int dw_dma_stop(const struct device *dev, uint32_t channel)
|
||||||
int i;
|
int i;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
LOG_DBG("%s: channel %d stop", dev->name, channel);
|
LOG_INF("%s: channel %d stop", dev->name, channel);
|
||||||
|
|
||||||
/* Validate the channel state */
|
/* Validate the channel state */
|
||||||
if (chan_data->state != DW_DMA_ACTIVE &&
|
if (chan_data->state != DW_DMA_ACTIVE &&
|
||||||
|
|
Loading…
Reference in a new issue