diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-21 09:36:49 +0000 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-04-30 11:03:50 +0200 |
commit | 1c981ddbe477fc6d895c9d002fcafef126b42297 (patch) | |
tree | eac3a2a370c189c75b6733d2fbdbbc950d2fc5ed | |
parent | 556cd4c460e1ef0f3248a706d1260cf6ee8ed943 (diff) | |
download | kernel_samsung_espresso10-1c981ddbe477fc6d895c9d002fcafef126b42297.zip kernel_samsung_espresso10-1c981ddbe477fc6d895c9d002fcafef126b42297.tar.gz kernel_samsung_espresso10-1c981ddbe477fc6d895c9d002fcafef126b42297.tar.bz2 |
ASoC: wm_hubs: Convert headphone driver to output driver widget
Mostly for neatness, though it may help with sequencing in some
situations.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/codecs/wm_hubs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c index abf185e..d50884b 100644 --- a/sound/soc/codecs/wm_hubs.c +++ b/sound/soc/codecs/wm_hubs.c @@ -681,9 +681,8 @@ SND_SOC_DAPM_PGA("Right Output PGA", WM8993_POWER_MANAGEMENT_3, 6, 0, NULL, 0), SND_SOC_DAPM_SUPPLY("Headphone Supply", SND_SOC_NOPM, 0, 0, hp_supply_event, SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_PRE_PMD), -SND_SOC_DAPM_PGA_E("Headphone PGA", SND_SOC_NOPM, 0, 0, - NULL, 0, - hp_event, SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), +SND_SOC_DAPM_OUT_DRV_E("Headphone PGA", SND_SOC_NOPM, 0, 0, NULL, 0, + hp_event, SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), SND_SOC_DAPM_MIXER("Earpiece Mixer", SND_SOC_NOPM, 0, 0, earpiece_mixer, ARRAY_SIZE(earpiece_mixer)), |