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:
Peter Ujfalusi 2024-02-07 14:39:40 +02:00 committed by Fabio Baltieri
parent f918aea733
commit 11f69be9fd

View file

@ -476,6 +476,8 @@ int dw_dma_start(const struct device *dev, uint32_t channel)
goto out;
}
LOG_INF("%s: channel %d start", dev->name, channel);
struct dw_lli *lli = chan_data->lli_current;
#ifdef CONFIG_DMA_DW_HW_LLI
@ -576,7 +578,7 @@ int dw_dma_stop(const struct device *dev, uint32_t channel)
int i;
#endif
LOG_DBG("%s: channel %d stop", dev->name, channel);
LOG_INF("%s: channel %d stop", dev->name, channel);
/* Validate the channel state */
if (chan_data->state != DW_DMA_ACTIVE &&