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

Commit 34c3b86e authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

ASoC: msm: update prints in machine driver



Change the log message from pr_err to pr_debug
in mi2s_shutdown function. Also, remove
unnecessary log causing excessive logging.

CRs-Fixed: 979748, 979249
Change-Id: I0818c7f04b276d9fb63829f66ec164c8b22b86b9
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent 676c9bc2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1123,7 +1123,7 @@ static void msm_mi2s_snd_shutdown(struct snd_pcm_substream *substream)
	}
	if (atomic_read(&pdata->mclk_rsc_ref) > 0) {
		atomic_dec(&pdata->mclk_rsc_ref);
		pr_err("%s: decrementing mclk_res_ref %d\n",
		pr_debug("%s: decrementing mclk_res_ref %d\n",
				__func__, atomic_read(&pdata->mclk_rsc_ref));
	}
}
@@ -2619,8 +2619,6 @@ codec_dai:
				ret = -ENODEV;
				goto err;
			}
			pr_err("%s: codec dai %s failed\n",
					__func__, dai_link[i].codec_name);
			dai_link[i].codec_of_node = phandle;
			dai_link[i].codec_name = NULL;
		}