diff options
author | Jarkko Nikula <jhnikula@gmail.com> | 2010-05-19 06:55:26 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-05-19 11:38:03 -0400 |
commit | 266d38c8e3d7f62152b1448fd9a7265f32f32d87 (patch) | |
tree | df19a4e03d0f70370bfe5c746eb747c52b9d2208 /sound | |
parent | d8b55d2cd00df4d599985440fd75b38d153bffcb (diff) |
ASoC: tpa6130a2: Define output pins with SND_SOC_DAPM_OUTPUT
Codec output pin should be defined with SND_SOC_DAPM_OUTPUT as otherwise
external widgets doesn't alter the output state.
Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Cc: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/tpa6130a2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c index fa4fa33a51aa..89788921280e 100644 --- a/sound/soc/codecs/tpa6130a2.c +++ b/sound/soc/codecs/tpa6130a2.c | |||
@@ -371,8 +371,8 @@ static const struct snd_soc_dapm_widget tpa6130a2_dapm_widgets[] = { | |||
371 | 0, 0, tpa6130a2_supply_event, | 371 | 0, 0, tpa6130a2_supply_event, |
372 | SND_SOC_DAPM_POST_PMU|SND_SOC_DAPM_POST_PMD), | 372 | SND_SOC_DAPM_POST_PMU|SND_SOC_DAPM_POST_PMD), |
373 | /* Outputs */ | 373 | /* Outputs */ |
374 | SND_SOC_DAPM_HP("TPA6130A2 Headphone Left", NULL), | 374 | SND_SOC_DAPM_OUTPUT("TPA6130A2 Headphone Left"), |
375 | SND_SOC_DAPM_HP("TPA6130A2 Headphone Right", NULL), | 375 | SND_SOC_DAPM_OUTPUT("TPA6130A2 Headphone Right"), |
376 | }; | 376 | }; |
377 | 377 | ||
378 | static const struct snd_soc_dapm_route audio_map[] = { | 378 | static const struct snd_soc_dapm_route audio_map[] = { |