diff options
Diffstat (limited to 'sound/soc/s3c24xx/s3c64xx-i2s.c')
-rw-r--r-- | sound/soc/s3c24xx/s3c64xx-i2s.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/s3c64xx-i2s.c b/sound/soc/s3c24xx/s3c64xx-i2s.c index 3c06c401d0fb..aaf452096be2 100644 --- a/sound/soc/s3c24xx/s3c64xx-i2s.c +++ b/sound/soc/s3c24xx/s3c64xx-i2s.c | |||
@@ -99,6 +99,19 @@ static int s3c64xx_i2s_set_sysclk(struct snd_soc_dai *cpu_dai, | |||
99 | iismod |= S3C64XX_IISMOD_IMS_SYSMUX; | 99 | iismod |= S3C64XX_IISMOD_IMS_SYSMUX; |
100 | break; | 100 | break; |
101 | 101 | ||
102 | case S3C64XX_CLKSRC_CDCLK: | ||
103 | switch (dir) { | ||
104 | case SND_SOC_CLOCK_IN: | ||
105 | iismod |= S3C64XX_IISMOD_CDCLKCON; | ||
106 | break; | ||
107 | case SND_SOC_CLOCK_OUT: | ||
108 | iismod &= ~S3C64XX_IISMOD_CDCLKCON; | ||
109 | break; | ||
110 | default: | ||
111 | return -EINVAL; | ||
112 | } | ||
113 | break; | ||
114 | |||
102 | default: | 115 | default: |
103 | return -EINVAL; | 116 | return -EINVAL; |
104 | } | 117 | } |