From ee433b4351383d33570e2e49eb7f84f7987cf4ab Mon Sep 17 00:00:00 2001 From: Bibek Basu Date: Fri, 2 Jan 2015 14:15:25 +0530 Subject: ASoC: Tegra: correct the print loglevel Some info prints are wrongly processed as err print Bug 200042283 Change-Id: I490b4782e5d26d06c0f3c7104ab8c68b94f31888 Signed-off-by: Bibek Basu Reviewed-on: http://git-master/r/668854 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty --- sound/soc/tegra/tegra_offload.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sound') diff --git a/sound/soc/tegra/tegra_offload.c b/sound/soc/tegra/tegra_offload.c index cae5f44c9794..8958ad4139e1 100644 --- a/sound/soc/tegra/tegra_offload.c +++ b/sound/soc/tegra/tegra_offload.c @@ -844,14 +844,14 @@ static int tegra_offload_pcm_new(struct snd_soc_pcm_runtime *rtd) dev_vdbg(dev, "%s", __func__); - dev_err(pcm->card->dev, "Allocating for stream playback\n"); + dev_info(pcm->card->dev, "Allocating for stream playback\n"); ret = tegra_offload_dma_allocate(rtd , SNDRV_PCM_STREAM_PLAYBACK, tegra_offload_pcm_hardware_playback.buffer_bytes_max); if (ret < 0) { dev_err(pcm->card->dev, "failing in pcm_new:1 goto err"); goto err; } - dev_err(pcm->card->dev, "Allocating for stream capture\n"); + dev_info(pcm->card->dev, "Allocating for stream capture\n"); ret = tegra_offload_dma_allocate(rtd , SNDRV_PCM_STREAM_CAPTURE, tegra_offload_pcm_hardware_capture.buffer_bytes_max); if (ret < 0) { @@ -866,11 +866,11 @@ static void tegra_offload_pcm_free(struct snd_pcm *pcm) { pr_debug("%s", __func__); if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { - dev_err(pcm->card->dev, "PCM free for stream playback\n"); + dev_info(pcm->card->dev, "PCM free for stream playback\n"); tegra_offload_dma_free(pcm, SNDRV_PCM_STREAM_PLAYBACK); } if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { - dev_err(pcm->card->dev, "PCM free for stream capture\n"); + dev_info(pcm->card->dev, "PCM free for stream capture\n"); tegra_offload_dma_free(pcm, SNDRV_PCM_STREAM_CAPTURE); } } -- cgit v1.2.3