diff options
Diffstat (limited to 'sound/soc/s3c24xx/s3c24xx-i2s.c')
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx-i2s.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.c b/sound/soc/s3c24xx/s3c24xx-i2s.c index 1c2b05497107..4473fb584c4c 100644 --- a/sound/soc/s3c24xx/s3c24xx-i2s.c +++ b/sound/soc/s3c24xx/s3c24xx-i2s.c | |||
@@ -456,6 +456,14 @@ static int s3c24xx_i2s_resume(struct snd_soc_dai *cpu_dai) | |||
456 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ | 456 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ |
457 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000) | 457 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000) |
458 | 458 | ||
459 | static struct snd_soc_dai_ops s3c24xx_i2s_dai_ops = { | ||
460 | .trigger = s3c24xx_i2s_trigger, | ||
461 | .hw_params = s3c24xx_i2s_hw_params, | ||
462 | .set_fmt = s3c24xx_i2s_set_fmt, | ||
463 | .set_clkdiv = s3c24xx_i2s_set_clkdiv, | ||
464 | .set_sysclk = s3c24xx_i2s_set_sysclk, | ||
465 | }; | ||
466 | |||
459 | struct snd_soc_dai s3c24xx_i2s_dai = { | 467 | struct snd_soc_dai s3c24xx_i2s_dai = { |
460 | .name = "s3c24xx-i2s", | 468 | .name = "s3c24xx-i2s", |
461 | .id = 0, | 469 | .id = 0, |
@@ -472,13 +480,7 @@ struct snd_soc_dai s3c24xx_i2s_dai = { | |||
472 | .channels_max = 2, | 480 | .channels_max = 2, |
473 | .rates = S3C24XX_I2S_RATES, | 481 | .rates = S3C24XX_I2S_RATES, |
474 | .formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE,}, | 482 | .formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE,}, |
475 | .ops = { | 483 | .ops = &s3c24xx_i2s_dai_ops, |
476 | .trigger = s3c24xx_i2s_trigger, | ||
477 | .hw_params = s3c24xx_i2s_hw_params, | ||
478 | .set_fmt = s3c24xx_i2s_set_fmt, | ||
479 | .set_clkdiv = s3c24xx_i2s_set_clkdiv, | ||
480 | .set_sysclk = s3c24xx_i2s_set_sysclk, | ||
481 | }, | ||
482 | }; | 484 | }; |
483 | EXPORT_SYMBOL_GPL(s3c24xx_i2s_dai); | 485 | EXPORT_SYMBOL_GPL(s3c24xx_i2s_dai); |
484 | 486 | ||