https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/core?id=d507941beb1ef98c19e2902007aee4faf36f854f


ALSA: pcm: Correct PCM BUG error message
While converting to dev_*(), the message showing the invalid PCM
position was wrongly tagged as if an XRUN although it's actually a
BUG.  This patch corrects the message again.


@@ -345,7 +345,7 @@ static int snd_pcm_update_hw_ptr0(struct snd_pcm_substream 
*substream,
                        snd_pcm_debug_name(substream, name, sizeof(name));
                        xrun_log_show(substream);
                        pcm_err(substream->pcm,
-                               "XRUN: %s, pos = %ld, buffer size = %ld, period 
size = %ld\n",
+                               "BUG: %s, pos = %ld, buffer size = %ld, period 
size = %ld\n",
                                name, pos, runtime->buffer_size,
                                runtime->period_size);
                }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1551041

Title:
  snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384,
  period size = 1024

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1551041/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to