diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/ssm2602.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c index 0e522e718dfc..56dc1c9c7c52 100644 --- a/sound/soc/codecs/ssm2602.c +++ b/sound/soc/codecs/ssm2602.c | |||
@@ -514,6 +514,9 @@ static int ssm2602_set_bias_level(struct snd_soc_codec *codec, | |||
514 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 |\ | 514 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 |\ |
515 | SNDRV_PCM_RATE_96000) | 515 | SNDRV_PCM_RATE_96000) |
516 | 516 | ||
517 | #define SSM2602_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ | ||
518 | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) | ||
519 | |||
517 | struct snd_soc_dai ssm2602_dai = { | 520 | struct snd_soc_dai ssm2602_dai = { |
518 | .name = "SSM2602", | 521 | .name = "SSM2602", |
519 | .playback = { | 522 | .playback = { |
@@ -521,13 +524,13 @@ struct snd_soc_dai ssm2602_dai = { | |||
521 | .channels_min = 2, | 524 | .channels_min = 2, |
522 | .channels_max = 2, | 525 | .channels_max = 2, |
523 | .rates = SSM2602_RATES, | 526 | .rates = SSM2602_RATES, |
524 | .formats = SNDRV_PCM_FMTBIT_S32_LE,}, | 527 | .formats = SSM2602_FORMATS,}, |
525 | .capture = { | 528 | .capture = { |
526 | .stream_name = "Capture", | 529 | .stream_name = "Capture", |
527 | .channels_min = 2, | 530 | .channels_min = 2, |
528 | .channels_max = 2, | 531 | .channels_max = 2, |
529 | .rates = SSM2602_RATES, | 532 | .rates = SSM2602_RATES, |
530 | .formats = SNDRV_PCM_FMTBIT_S32_LE,}, | 533 | .formats = SSM2602_FORMATS,}, |
531 | .ops = { | 534 | .ops = { |
532 | .startup = ssm2602_startup, | 535 | .startup = ssm2602_startup, |
533 | .prepare = ssm2602_pcm_prepare, | 536 | .prepare = ssm2602_pcm_prepare, |