Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e772c67 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Vinod Koul
Browse files

dma: edma: Set debug level to debugging messages



The channel allocated/released messages are very spammy and not really
interesting to users. Change them to "debug" level.

Signed-off-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: default avatarMatt Porter <mporter@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 397321f4
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -699,7 +699,7 @@ static int edma_alloc_chan_resources(struct dma_chan *chan)
	echan->alloced = true;
	echan->alloced = true;
	echan->slot[0] = echan->ch_num;
	echan->slot[0] = echan->ch_num;


	dev_info(dev, "allocated channel for %u:%u\n",
	dev_dbg(dev, "allocated channel for %u:%u\n",
		EDMA_CTLR(echan->ch_num), EDMA_CHAN_SLOT(echan->ch_num));
		EDMA_CTLR(echan->ch_num), EDMA_CHAN_SLOT(echan->ch_num));


	return 0;
	return 0;
@@ -736,7 +736,7 @@ static void edma_free_chan_resources(struct dma_chan *chan)
		echan->alloced = false;
		echan->alloced = false;
	}
	}


	dev_info(dev, "freeing channel for %u\n", echan->ch_num);
	dev_dbg(dev, "freeing channel for %u\n", echan->ch_num);
}
}


/* Send pending descriptor to hardware */
/* Send pending descriptor to hardware */