diff mbox series

ASoC: SOF: trace: Omit error print when waking up trace sleepers

Message ID 20210917085108.25532-1-peter.ujfalusi@linux.intel.com (mailing list archive)
State Accepted
Commit cfacfefd382af3b42905108b54f02820dca225c4
Headers show
Series ASoC: SOF: trace: Omit error print when waking up trace sleepers | expand

Commit Message

Peter Ujfalusi Sept. 17, 2021, 8:51 a.m. UTC
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>
---
 sound/soc/sof/trace.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown Sept. 17, 2021, 2:03 p.m. UTC | #1
On Fri, 17 Sep 2021 11:51:08 +0300, Peter Ujfalusi wrote:
> 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).
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: SOF: trace: Omit error print when waking up trace sleepers
      commit: cfacfefd382af3b42905108b54f02820dca225c4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

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);
 	}