All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: SOF: trace: Omit error print when waking up trace sleepers
@ 2021-09-17  8:51 Peter Ujfalusi
  2021-09-17 14:03 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Ujfalusi @ 2021-09-17  8:51 UTC (permalink / raw)
  To: lgirdwood, broonie, pierre-louis.bossart
  Cc: alsa-devel, daniel.baluta, ranjani.sridharan, kai.vehmanen

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: SOF: trace: Omit error print when waking up trace sleepers
  2021-09-17  8:51 [PATCH] ASoC: SOF: trace: Omit error print when waking up trace sleepers Peter Ujfalusi
@ 2021-09-17 14:03 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2021-09-17 14:03 UTC (permalink / raw)
  To: lgirdwood, pierre-louis.bossart, Peter Ujfalusi
  Cc: alsa-devel, Mark Brown, daniel.baluta, ranjani.sridharan, kai.vehmanen

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-17 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17  8:51 [PATCH] ASoC: SOF: trace: Omit error print when waking up trace sleepers Peter Ujfalusi
2021-09-17 14:03 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.