Browse Source

jzcodec: Only support 16bit formats for now

SVN-Revision: 20701
Lars-Peter Clausen 16 years ago
parent
commit
f8275576d9
1 changed files with 2 additions and 5 deletions
  1. 2 5
      target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c

+ 2 - 5
target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c

@@ -267,17 +267,14 @@ struct snd_soc_dai jz_codec_dai = {
 		.channels_min = 2,
 		.channels_max = 2,
 		.rates = SNDRV_PCM_RATE_8000_44100,
-		.formats = SNDRV_PCM_FMTBIT_S18_3LE |
-		           SNDRV_PCM_FMTBIT_S16_LE |
-		           SNDRV_PCM_FMTBIT_S8,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,
 	},
 	.capture = {
 		.stream_name = "Capture",
 		.channels_min = 2,
 		.channels_max = 2,
 		.rates = SNDRV_PCM_RATE_8000_44100,
-		.formats = SNDRV_PCM_FMTBIT_S16_LE |
-		           SNDRV_PCM_FMTBIT_S8,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,
 	},
 	.ops = &jz_codec_dai_ops,
 	.symmetric_rates = 1,