mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	ucm: fix variable mixup
I assume the intention was to use cdev1 for PlaybackCTL and cdev2 for CaptureCTL, but cdev1 was being used for both and cdev2 was not used for anything. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									4e398ddfcf
								
							
						
					
					
						commit
						a540bb3f89
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -308,7 +308,7 @@ static int execute_sequence(snd_use_case_mgr_t *uc_mgr,
 | 
				
			||||||
					uc_error("cdev is not defined!");
 | 
										uc_error("cdev is not defined!");
 | 
				
			||||||
					return err;
 | 
										return err;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				err = get_value3(&cdev1, "CaptureCTL",
 | 
									err = get_value3(&cdev2, "CaptureCTL",
 | 
				
			||||||
						 value_list1,
 | 
											 value_list1,
 | 
				
			||||||
						 value_list2,
 | 
											 value_list2,
 | 
				
			||||||
						 value_list3);
 | 
											 value_list3);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue