diff options
-rw-r--r-- | sound/soc/codecs/tlv320aic3x.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c index 5360772bc1ad..d275890a6827 100644 --- a/sound/soc/codecs/tlv320aic3x.c +++ b/sound/soc/codecs/tlv320aic3x.c | |||
@@ -880,6 +880,7 @@ static int aic3x_hw_params(struct snd_pcm_substream *substream, | |||
880 | data |= (0x01 << 4); | 880 | data |= (0x01 << 4); |
881 | break; | 881 | break; |
882 | case SNDRV_PCM_FORMAT_S24_3LE: | 882 | case SNDRV_PCM_FORMAT_S24_3LE: |
883 | case SNDRV_PCM_FORMAT_S24_LE: | ||
883 | data |= (0x02 << 4); | 884 | data |= (0x02 << 4); |
884 | break; | 885 | break; |
885 | case SNDRV_PCM_FORMAT_S32_LE: | 886 | case SNDRV_PCM_FORMAT_S32_LE: |
@@ -1194,7 +1195,8 @@ static int aic3x_set_bias_level(struct snd_soc_codec *codec, | |||
1194 | 1195 | ||
1195 | #define AIC3X_RATES SNDRV_PCM_RATE_8000_96000 | 1196 | #define AIC3X_RATES SNDRV_PCM_RATE_8000_96000 |
1196 | #define AIC3X_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ | 1197 | #define AIC3X_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ |
1197 | SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE) | 1198 | SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S24_LE | \ |
1199 | SNDRV_PCM_FMTBIT_S32_LE) | ||
1198 | 1200 | ||
1199 | static const struct snd_soc_dai_ops aic3x_dai_ops = { | 1201 | static const struct snd_soc_dai_ops aic3x_dai_ops = { |
1200 | .hw_params = aic3x_hw_params, | 1202 | .hw_params = aic3x_hw_params, |