diff options
Diffstat (limited to 'sound/soc/davinci/davinci-evm.c')
-rw-r--r-- | sound/soc/davinci/davinci-evm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c index b6bb5947a8a8..1f314a836f2a 100644 --- a/sound/soc/davinci/davinci-evm.c +++ b/sound/soc/davinci/davinci-evm.c | |||
@@ -117,7 +117,6 @@ static const struct snd_soc_dapm_route audio_map[] = { | |||
117 | static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd) | 117 | static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd) |
118 | { | 118 | { |
119 | struct snd_soc_card *card = rtd->card; | 119 | struct snd_soc_card *card = rtd->card; |
120 | struct snd_soc_codec *codec = rtd->codec; | ||
121 | struct device_node *np = card->dev->of_node; | 120 | struct device_node *np = card->dev->of_node; |
122 | int ret; | 121 | int ret; |
123 | 122 | ||
@@ -136,9 +135,9 @@ static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd) | |||
136 | } | 135 | } |
137 | 136 | ||
138 | /* not connected */ | 137 | /* not connected */ |
139 | snd_soc_dapm_nc_pin(&codec->dapm, "MONO_LOUT"); | 138 | snd_soc_dapm_nc_pin(&card->dapm, "MONO_LOUT"); |
140 | snd_soc_dapm_nc_pin(&codec->dapm, "HPLCOM"); | 139 | snd_soc_dapm_nc_pin(&card->dapm, "HPLCOM"); |
141 | snd_soc_dapm_nc_pin(&codec->dapm, "HPRCOM"); | 140 | snd_soc_dapm_nc_pin(&card->dapm, "HPRCOM"); |
142 | 141 | ||
143 | return 0; | 142 | return 0; |
144 | } | 143 | } |