mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	jzcodec: Fix supported formats.
SVN-Revision: 20210
This commit is contained in:
		
							parent
							
								
									1b39ce11a8
								
							
						
					
					
						commit
						a4d823a9e3
					
				@ -267,14 +267,17 @@ struct snd_soc_dai jz_codec_dai = {
 | 
			
		||||
		.channels_min = 2,
 | 
			
		||||
		.channels_max = 2,
 | 
			
		||||
		.rates = SNDRV_PCM_RATE_8000_44100,
 | 
			
		||||
		.formats = SNDRV_PCM_FORMAT_S18_3LE,
 | 
			
		||||
		.formats = SNDRV_PCM_FMTBIT_S18_3LE |
 | 
			
		||||
		           SNDRV_PCM_FMTBIT_S16_LE |
 | 
			
		||||
		           SNDRV_PCM_FMTBIT_S8,
 | 
			
		||||
	},
 | 
			
		||||
	.capture = {
 | 
			
		||||
		.stream_name = "Capture",
 | 
			
		||||
		.channels_min = 2,
 | 
			
		||||
		.channels_max = 2,
 | 
			
		||||
		.rates = SNDRV_PCM_RATE_8000_44100,
 | 
			
		||||
		.formats = SNDRV_PCM_FORMAT_S16_LE,
 | 
			
		||||
		.formats = SNDRV_PCM_FMTBIT_S16_LE |
 | 
			
		||||
		           SNDRV_PCM_FMTBIT_S8,
 | 
			
		||||
	},
 | 
			
		||||
	.ops = &jz_codec_dai_ops,
 | 
			
		||||
	.symmetric_rates = 1,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user