diff options
Diffstat (limited to 'sound/soc/s3c24xx/s3c2412-i2s.c')
-rw-r--r-- | sound/soc/s3c24xx/s3c2412-i2s.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sound/soc/s3c24xx/s3c2412-i2s.c b/sound/soc/s3c24xx/s3c2412-i2s.c index f3fc0aba0aaf..382d7eee53ef 100644 --- a/sound/soc/s3c24xx/s3c2412-i2s.c +++ b/sound/soc/s3c24xx/s3c2412-i2s.c | |||
@@ -708,6 +708,14 @@ static int s3c2412_i2s_resume(struct snd_soc_dai *dai) | |||
708 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ | 708 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ |
709 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000) | 709 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000) |
710 | 710 | ||
711 | static struct snd_soc_dai_ops s3c2412_i2s_dai_ops = { | ||
712 | .trigger = s3c2412_i2s_trigger, | ||
713 | .hw_params = s3c2412_i2s_hw_params, | ||
714 | .set_fmt = s3c2412_i2s_set_fmt, | ||
715 | .set_clkdiv = s3c2412_i2s_set_clkdiv, | ||
716 | .set_sysclk = s3c2412_i2s_set_sysclk, | ||
717 | }; | ||
718 | |||
711 | struct snd_soc_dai s3c2412_i2s_dai = { | 719 | struct snd_soc_dai s3c2412_i2s_dai = { |
712 | .name = "s3c2412-i2s", | 720 | .name = "s3c2412-i2s", |
713 | .id = 0, | 721 | .id = 0, |
@@ -726,13 +734,7 @@ struct snd_soc_dai s3c2412_i2s_dai = { | |||
726 | .rates = S3C2412_I2S_RATES, | 734 | .rates = S3C2412_I2S_RATES, |
727 | .formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE, | 735 | .formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE, |
728 | }, | 736 | }, |
729 | .ops = { | 737 | .ops = &s3c2412_i2s_dai_ops, |
730 | .trigger = s3c2412_i2s_trigger, | ||
731 | .hw_params = s3c2412_i2s_hw_params, | ||
732 | .set_fmt = s3c2412_i2s_set_fmt, | ||
733 | .set_clkdiv = s3c2412_i2s_set_clkdiv, | ||
734 | .set_sysclk = s3c2412_i2s_set_sysclk, | ||
735 | }, | ||
736 | }; | 738 | }; |
737 | EXPORT_SYMBOL_GPL(s3c2412_i2s_dai); | 739 | EXPORT_SYMBOL_GPL(s3c2412_i2s_dai); |
738 | 740 | ||