ALSA: hda - Use generic parser for Cirrus codec driver
This time, the target is Cirrus codec. Its parser is a subset of generic parser, so we can migrate fully with it now. The only tricky part is the handling of SPDIF automute. Cirrus driver sets the SPDIF out plug over the headphone. As a workaround, set spec->gen.master_mute for toggling the headphone (and other) mute. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
					parent
					
						
							
								8fadf1da3f
							
						
					
				
			
			
				commit
				
					
						1077a02481
					
				
			
		
					 2 changed files with 103 additions and 1193 deletions
				
			
		|  | @ -149,6 +149,7 @@ config SND_HDA_CODEC_HDMI | ||||||
| config SND_HDA_CODEC_CIRRUS | config SND_HDA_CODEC_CIRRUS | ||||||
| 	bool "Build Cirrus Logic codec support" | 	bool "Build Cirrus Logic codec support" | ||||||
| 	default y | 	default y | ||||||
|  | 	select SND_HDA_GENERIC | ||||||
| 	help | 	help | ||||||
| 	  Say Y here to include Cirrus Logic codec support in | 	  Say Y here to include Cirrus Logic codec support in | ||||||
| 	  snd-hda-intel driver, such as CS4206. | 	  snd-hda-intel driver, such as CS4206. | ||||||
|  |  | ||||||
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Takashi Iwai
				Takashi Iwai