summaryrefslogtreecommitdiffstats
path: root/kernel/sound/soc/samsung/speyside.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/soc/samsung/speyside.c')
-rw-r--r--kernel/sound/soc/samsung/speyside.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sound/soc/samsung/speyside.c b/kernel/sound/soc/samsung/speyside.c
index 2dcb988bd..d1ae21c5e 100644
--- a/kernel/sound/soc/samsung/speyside.c
+++ b/kernel/sound/soc/samsung/speyside.c
@@ -123,7 +123,7 @@ static void speyside_set_polarity(struct snd_soc_codec *codec,
gpio_direction_output(WM8996_HPSEL_GPIO, speyside_jack_polarity);
/* Re-run DAPM to make sure we're using the correct mic bias */
- snd_soc_dapm_sync(&codec->dapm);
+ snd_soc_dapm_sync(snd_soc_codec_get_dapm(codec));
}
static int speyside_wm0010_init(struct snd_soc_pcm_runtime *rtd)