mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	topology: Fix inaccurate message on failure to find a widgets's reference
A widget may have references to control or data elements. So the message should not only use "control" here. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									df43c2d380
								
							
						
					
					
						commit
						776eb7fa5e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -201,7 +201,7 @@ static int tplg_build_widget(snd_tplg_t *tplg,
 | 
			
		|||
		}
 | 
			
		||||
 | 
			
		||||
		if (!ref->elem) {
 | 
			
		||||
			SNDERR("error: cannot find control '%s'"
 | 
			
		||||
			SNDERR("error: cannot find '%s'"
 | 
			
		||||
				" referenced by widget '%s'\n",
 | 
			
		||||
				ref->id, elem->id);
 | 
			
		||||
			return -EINVAL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue