diff options
author | Olaya, Margarita <magi.olaya@ti.com> | 2010-12-20 11:39:20 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-12-23 09:38:32 -0500 |
commit | f769bdf2a7ee97c8e762fc133ff00aabe935867b (patch) | |
tree | d1af2fd9840562d2e7ef96147552f9d96b0d9dbe /sound | |
parent | d4686c654bb1d7ea226578d5725ca34911d6e34c (diff) |
ASoC: twl6040: Convert HF and HS drivers to use DAPM OUT_DRV widget
Make the phoenix HS and HF drivers use the new DAPM driver
widget in order to guarantee power ON/OFF order sequence.
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/twl6040.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 2f68f5949a63..4bbf1b15a493 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c | |||
@@ -1138,19 +1138,19 @@ static const struct snd_soc_dapm_widget twl6040_dapm_widgets[] = { | |||
1138 | SND_SOC_NOPM, 0, 0, &hsr_mux_controls), | 1138 | SND_SOC_NOPM, 0, 0, &hsr_mux_controls), |
1139 | 1139 | ||
1140 | /* Analog playback drivers */ | 1140 | /* Analog playback drivers */ |
1141 | SND_SOC_DAPM_PGA_E("Handsfree Left Driver", | 1141 | SND_SOC_DAPM_OUT_DRV_E("Handsfree Left Driver", |
1142 | TWL6040_REG_HFLCTL, 4, 0, NULL, 0, | 1142 | TWL6040_REG_HFLCTL, 4, 0, NULL, 0, |
1143 | pga_event, | 1143 | pga_event, |
1144 | SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), | 1144 | SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), |
1145 | SND_SOC_DAPM_PGA_E("Handsfree Right Driver", | 1145 | SND_SOC_DAPM_OUT_DRV_E("Handsfree Right Driver", |
1146 | TWL6040_REG_HFRCTL, 4, 0, NULL, 0, | 1146 | TWL6040_REG_HFRCTL, 4, 0, NULL, 0, |
1147 | pga_event, | 1147 | pga_event, |
1148 | SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), | 1148 | SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), |
1149 | SND_SOC_DAPM_PGA_E("Headset Left Driver", | 1149 | SND_SOC_DAPM_OUT_DRV_E("Headset Left Driver", |
1150 | TWL6040_REG_HSLCTL, 2, 0, NULL, 0, | 1150 | TWL6040_REG_HSLCTL, 2, 0, NULL, 0, |
1151 | pga_event, | 1151 | pga_event, |
1152 | SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), | 1152 | SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), |
1153 | SND_SOC_DAPM_PGA_E("Headset Right Driver", | 1153 | SND_SOC_DAPM_OUT_DRV_E("Headset Right Driver", |
1154 | TWL6040_REG_HSRCTL, 2, 0, NULL, 0, | 1154 | TWL6040_REG_HSRCTL, 2, 0, NULL, 0, |
1155 | pga_event, | 1155 | pga_event, |
1156 | SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), | 1156 | SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), |