forked from mirrors/linux
		
	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>
This commit is contained in:
		
							parent
							
								
									aa8edd8ca6
								
							
						
					
					
						commit
						d507941beb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -345,7 +345,7 @@ static int snd_pcm_update_hw_ptr0(struct snd_pcm_substream *substream,
 | 
				
			||||||
			snd_pcm_debug_name(substream, name, sizeof(name));
 | 
								snd_pcm_debug_name(substream, name, sizeof(name));
 | 
				
			||||||
			xrun_log_show(substream);
 | 
								xrun_log_show(substream);
 | 
				
			||||||
			pcm_err(substream->pcm,
 | 
								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,
 | 
									name, pos, runtime->buffer_size,
 | 
				
			||||||
				runtime->period_size);
 | 
									runtime->period_size);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue