diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-11-04 07:57:15 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-11-04 08:09:12 -0500 |
commit | d507941beb1ef98c19e2902007aee4faf36f854f (patch) | |
tree | e90d18395487c04390fd0ccf8130e953afa0b749 /sound/core | |
parent | aa8edd8ca6a110349b00e360823c64e8cd106289 (diff) |
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.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/pcm_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c index dfc28542a007..7b9e2fb35a86 100644 --- a/sound/core/pcm_lib.c +++ b/sound/core/pcm_lib.c | |||
@@ -345,7 +345,7 @@ static int snd_pcm_update_hw_ptr0(struct snd_pcm_substream *substream, | |||
345 | snd_pcm_debug_name(substream, name, sizeof(name)); | 345 | snd_pcm_debug_name(substream, name, sizeof(name)); |
346 | xrun_log_show(substream); | 346 | xrun_log_show(substream); |
347 | pcm_err(substream->pcm, | 347 | pcm_err(substream->pcm, |
348 | "XRUN: %s, pos = %ld, buffer size = %ld, period size = %ld\n", | 348 | "BUG: %s, pos = %ld, buffer size = %ld, period size = %ld\n", |
349 | name, pos, runtime->buffer_size, | 349 | name, pos, runtime->buffer_size, |
350 | runtime->period_size); | 350 | runtime->period_size); |
351 | } | 351 | } |