diff options
Diffstat (limited to 'sound/soc/omap')
-rw-r--r-- | sound/soc/omap/n810.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/omap/n810.c b/sound/soc/omap/n810.c index d1233c01398f..e53c055412c7 100644 --- a/sound/soc/omap/n810.c +++ b/sound/soc/omap/n810.c | |||
@@ -91,7 +91,7 @@ static int n810_hw_params(struct snd_pcm_substream *substream, | |||
91 | int err; | 91 | int err; |
92 | 92 | ||
93 | /* Set codec DAI configuration */ | 93 | /* Set codec DAI configuration */ |
94 | err = codec_dai->dai_ops.set_fmt(codec_dai, | 94 | err = snd_soc_dai_set_fmt(codec_dai, |
95 | SND_SOC_DAIFMT_I2S | | 95 | SND_SOC_DAIFMT_I2S | |
96 | SND_SOC_DAIFMT_NB_NF | | 96 | SND_SOC_DAIFMT_NB_NF | |
97 | SND_SOC_DAIFMT_CBM_CFM); | 97 | SND_SOC_DAIFMT_CBM_CFM); |
@@ -99,7 +99,7 @@ static int n810_hw_params(struct snd_pcm_substream *substream, | |||
99 | return err; | 99 | return err; |
100 | 100 | ||
101 | /* Set cpu DAI configuration */ | 101 | /* Set cpu DAI configuration */ |
102 | err = cpu_dai->dai_ops.set_fmt(cpu_dai, | 102 | err = snd_soc_dai_set_fmt(cpu_dai, |
103 | SND_SOC_DAIFMT_I2S | | 103 | SND_SOC_DAIFMT_I2S | |
104 | SND_SOC_DAIFMT_NB_NF | | 104 | SND_SOC_DAIFMT_NB_NF | |
105 | SND_SOC_DAIFMT_CBM_CFM); | 105 | SND_SOC_DAIFMT_CBM_CFM); |
@@ -107,7 +107,7 @@ static int n810_hw_params(struct snd_pcm_substream *substream, | |||
107 | return err; | 107 | return err; |
108 | 108 | ||
109 | /* Set the codec system clock for DAC and ADC */ | 109 | /* Set the codec system clock for DAC and ADC */ |
110 | err = codec_dai->dai_ops.set_sysclk(codec_dai, 0, 12000000, | 110 | err = snd_soc_dai_set_sysclk(codec_dai, 0, 12000000, |
111 | SND_SOC_CLOCK_IN); | 111 | SND_SOC_CLOCK_IN); |
112 | 112 | ||
113 | return err; | 113 | return err; |