diff options
| -rw-r--r-- | sound/soc/samsung/smartq_wm8987.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/samsung/smartq_wm8987.c b/sound/soc/samsung/smartq_wm8987.c index c75f98d4931d..a0fe37fbed9f 100644 --- a/sound/soc/samsung/smartq_wm8987.c +++ b/sound/soc/samsung/smartq_wm8987.c | |||
| @@ -137,8 +137,7 @@ static const struct snd_soc_dapm_route audio_map[] = { | |||
| 137 | 137 | ||
| 138 | static int smartq_wm8987_init(struct snd_soc_pcm_runtime *rtd) | 138 | static int smartq_wm8987_init(struct snd_soc_pcm_runtime *rtd) |
| 139 | { | 139 | { |
| 140 | struct snd_soc_codec *codec = rtd->codec; | 140 | struct snd_soc_dapm_context *dapm = &rtd->card->dapm; |
| 141 | struct snd_soc_dapm_context *dapm = &codec->dapm; | ||
| 142 | int err = 0; | 141 | int err = 0; |
| 143 | 142 | ||
| 144 | /* set endpoints to not connected */ | 143 | /* set endpoints to not connected */ |
