diff options
Diffstat (limited to 'sound/soc/samsung/speyside.c')
-rw-r--r-- | sound/soc/samsung/speyside.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/samsung/speyside.c b/sound/soc/samsung/speyside.c index 9902efcb8ea1..a05482651aae 100644 --- a/sound/soc/samsung/speyside.c +++ b/sound/soc/samsung/speyside.c | |||
@@ -228,10 +228,12 @@ static struct snd_soc_dai_link speyside_dai[] = { | |||
228 | }, | 228 | }, |
229 | }; | 229 | }; |
230 | 230 | ||
231 | static int speyside_wm9081_init(struct snd_soc_dapm_context *dapm) | 231 | static int speyside_wm9081_init(struct snd_soc_component *component) |
232 | { | 232 | { |
233 | struct snd_soc_codec *codec = snd_soc_component_to_codec(component); | ||
234 | |||
233 | /* At any time the WM9081 is active it will have this clock */ | 235 | /* At any time the WM9081 is active it will have this clock */ |
234 | return snd_soc_codec_set_sysclk(dapm->codec, WM9081_SYSCLK_MCLK, 0, | 236 | return snd_soc_codec_set_sysclk(codec, WM9081_SYSCLK_MCLK, 0, |
235 | MCLK_AUDIO_RATE, 0); | 237 | MCLK_AUDIO_RATE, 0); |
236 | } | 238 | } |
237 | 239 | ||