diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-05-20 06:00:43 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-05-20 06:00:43 -0400 |
commit | d71f4cece4bd97d05592836202fc04ff2e7817e3 (patch) | |
tree | 6c877c7a938758b1323d9c97d46b9c536e618c69 /sound/soc/codecs/wm8974.c | |
parent | 19008bdacb9f7841166ebafe0aef361ee582ffbf (diff) | |
parent | ad8332c1302bcb4f80d593fd3eb477be9d7f5604 (diff) |
Merge branch 'topic/asoc' into for-linus
Conflicts:
sound/soc/codecs/ad1938.c
Diffstat (limited to 'sound/soc/codecs/wm8974.c')
-rw-r--r-- | sound/soc/codecs/wm8974.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c index 69708c4cc004..a2c4b2f37cca 100644 --- a/sound/soc/codecs/wm8974.c +++ b/sound/soc/codecs/wm8974.c | |||
@@ -181,7 +181,7 @@ SOC_SINGLE("ADC 128x Oversampling Switch", WM8974_ADC, 8, 1, 0), | |||
181 | static const struct snd_kcontrol_new wm8974_speaker_mixer_controls[] = { | 181 | static const struct snd_kcontrol_new wm8974_speaker_mixer_controls[] = { |
182 | SOC_DAPM_SINGLE("Line Bypass Switch", WM8974_SPKMIX, 1, 1, 0), | 182 | SOC_DAPM_SINGLE("Line Bypass Switch", WM8974_SPKMIX, 1, 1, 0), |
183 | SOC_DAPM_SINGLE("Aux Playback Switch", WM8974_SPKMIX, 5, 1, 0), | 183 | SOC_DAPM_SINGLE("Aux Playback Switch", WM8974_SPKMIX, 5, 1, 0), |
184 | SOC_DAPM_SINGLE("PCM Playback Switch", WM8974_SPKMIX, 0, 1, 1), | 184 | SOC_DAPM_SINGLE("PCM Playback Switch", WM8974_SPKMIX, 0, 1, 0), |
185 | }; | 185 | }; |
186 | 186 | ||
187 | /* Mono Output Mixer */ | 187 | /* Mono Output Mixer */ |
@@ -609,7 +609,7 @@ static int wm8974_resume(struct platform_device *pdev) | |||
609 | codec->hw_write(codec->control_data, data, 2); | 609 | codec->hw_write(codec->control_data, data, 2); |
610 | } | 610 | } |
611 | wm8974_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | 611 | wm8974_set_bias_level(codec, SND_SOC_BIAS_STANDBY); |
612 | wm8974_set_bias_level(codec, codec->suspend_bias_level); | 612 | |
613 | return 0; | 613 | return 0; |
614 | } | 614 | } |
615 | 615 | ||
@@ -677,7 +677,7 @@ static __devinit int wm8974_register(struct wm8974_priv *wm8974) | |||
677 | INIT_LIST_HEAD(&codec->dapm_widgets); | 677 | INIT_LIST_HEAD(&codec->dapm_widgets); |
678 | INIT_LIST_HEAD(&codec->dapm_paths); | 678 | INIT_LIST_HEAD(&codec->dapm_paths); |
679 | 679 | ||
680 | codec->private_data = wm8974; | 680 | snd_soc_codec_set_drvdata(codec, wm8974); |
681 | codec->name = "WM8974"; | 681 | codec->name = "WM8974"; |
682 | codec->owner = THIS_MODULE; | 682 | codec->owner = THIS_MODULE; |
683 | codec->bias_level = SND_SOC_BIAS_OFF; | 683 | codec->bias_level = SND_SOC_BIAS_OFF; |