diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 10:00:22 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 10:00:22 -0500 |
commit | 4de3a8e101150feaefa1139611a50ff37467f33e (patch) | |
tree | daada742542518b02d7db7c5d32e715eaa5f166d /sound/soc/codecs/wm8983.c | |
parent | 294064f58953f9964e5945424b09c51800330a83 (diff) | |
parent | 099469502f62fbe0d7e4f0b83a2f22538367f734 (diff) |
Merge branch 'master' into fixes
Diffstat (limited to 'sound/soc/codecs/wm8983.c')
-rw-r--r-- | sound/soc/codecs/wm8983.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8983.c b/sound/soc/codecs/wm8983.c index 93ee28439be5..cebde568d191 100644 --- a/sound/soc/codecs/wm8983.c +++ b/sound/soc/codecs/wm8983.c | |||
@@ -481,7 +481,8 @@ static const struct snd_soc_dapm_widget wm8983_dapm_widgets[] = { | |||
481 | SND_SOC_DAPM_PGA("OUT4 Out", WM8983_POWER_MANAGEMENT_3, | 481 | SND_SOC_DAPM_PGA("OUT4 Out", WM8983_POWER_MANAGEMENT_3, |
482 | 8, 0, NULL, 0), | 482 | 8, 0, NULL, 0), |
483 | 483 | ||
484 | SND_SOC_DAPM_MICBIAS("Mic Bias", WM8983_POWER_MANAGEMENT_1, 4, 0), | 484 | SND_SOC_DAPM_SUPPLY("Mic Bias", WM8983_POWER_MANAGEMENT_1, 4, 0, |
485 | NULL, 0), | ||
485 | 486 | ||
486 | SND_SOC_DAPM_INPUT("LIN"), | 487 | SND_SOC_DAPM_INPUT("LIN"), |
487 | SND_SOC_DAPM_INPUT("LIP"), | 488 | SND_SOC_DAPM_INPUT("LIP"), |
@@ -973,7 +974,7 @@ static int wm8983_set_bias_level(struct snd_soc_codec *codec, | |||
973 | } | 974 | } |
974 | 975 | ||
975 | #ifdef CONFIG_PM | 976 | #ifdef CONFIG_PM |
976 | static int wm8983_suspend(struct snd_soc_codec *codec, pm_message_t state) | 977 | static int wm8983_suspend(struct snd_soc_codec *codec) |
977 | { | 978 | { |
978 | wm8983_set_bias_level(codec, SND_SOC_BIAS_OFF); | 979 | wm8983_set_bias_level(codec, SND_SOC_BIAS_OFF); |
979 | return 0; | 980 | return 0; |
@@ -1034,7 +1035,7 @@ static int wm8983_probe(struct snd_soc_codec *codec) | |||
1034 | return 0; | 1035 | return 0; |
1035 | } | 1036 | } |
1036 | 1037 | ||
1037 | static struct snd_soc_dai_ops wm8983_dai_ops = { | 1038 | static const struct snd_soc_dai_ops wm8983_dai_ops = { |
1038 | .digital_mute = wm8983_dac_mute, | 1039 | .digital_mute = wm8983_dac_mute, |
1039 | .hw_params = wm8983_hw_params, | 1040 | .hw_params = wm8983_hw_params, |
1040 | .set_fmt = wm8983_set_fmt, | 1041 | .set_fmt = wm8983_set_fmt, |