diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2021-09-17 10:51:08 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-17 14:16:36 +0200 |
commit | cfacfefd382af3b42905108b54f02820dca225c4 (patch) | |
tree | f71bce06d819cae550e5a85faed51bed7db86d05 /sound/soc | |
parent | ASoC: mediatek: mt8195: remove wrong fixup assignment on HDMITX (diff) | |
download | linux-cfacfefd382af3b42905108b54f02820dca225c4.tar.xz linux-cfacfefd382af3b42905108b54f02820dca225c4.zip |
ASoC: SOF: trace: Omit error print when waking up trace sleepers
Do not print error message from snd_sof_trace_notify_for_error() when
possible sleeping trace work is woken up to flush the remaining debug
information.
This action by itself is not an error, it is just an action we take when
an error occurs to make sure that all information have been fed to the
userspace (if we have trace in use).
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210917085108.25532-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/sof/trace.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/sof/trace.c b/sound/soc/sof/trace.c index f72a6e83e6af..58f6ca5cf491 100644 --- a/sound/soc/sof/trace.c +++ b/sound/soc/sof/trace.c @@ -530,7 +530,6 @@ void snd_sof_trace_notify_for_error(struct snd_sof_dev *sdev) return; if (sdev->dtrace_is_enabled) { - dev_err(sdev->dev, "error: waking up any trace sleepers\n"); sdev->dtrace_error = true; wake_up(&sdev->trace_sleep); } |