Commit 11f69be9 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Fabio Baltieri
Browse files

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: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
parent f918aea7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 &&