diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-11-04 13:57:15 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-11-04 14:09:12 +0100 |
commit | d507941beb1ef98c19e2902007aee4faf36f854f (patch) | |
tree | e90d18395487c04390fd0ccf8130e953afa0b749 /sound/core | |
parent | aa8edd8ca6a110349b00e360823c64e8cd106289 (diff) | |
download | op-kernel-dev-d507941beb1ef98c19e2902007aee4faf36f854f.zip op-kernel-dev-d507941beb1ef98c19e2902007aee4faf36f854f.tar.gz |
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 dfc2854..7b9e2fb 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, 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); } |