diff options
author | Bibek Basu <bbasu@nvidia.com> | 2015-01-02 14:15:25 +0530 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2015-01-07 10:57:48 -0800 |
commit | ee433b4351383d33570e2e49eb7f84f7987cf4ab (patch) | |
tree | 603e6d1b4bdd19de92fae37f6dd94d48042bb68f /sound | |
parent | 0f089e2fb443a4033423ffe21839e03799de70c2 (diff) |
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 <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/668854
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_offload.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } } |