mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
ASoC: OMAP3 Pandora: update for TWL4030 codec changes
A while ago TWL4030 had it's playback stream name changed, but pandora needs it for it's playback path. Update to correct stream name so that playback works again. Also mark VIBRA output as not connected. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
bd6ddcb41d
commit
f3dd70414c
1 changed files with 2 additions and 1 deletions
|
@ -134,7 +134,7 @@ static int omap3pandora_hp_event(struct snd_soc_dapm_widget *w,
|
|||
* |P| <--- TWL4030 <--------- Line In and MICs
|
||||
*/
|
||||
static const struct snd_soc_dapm_widget omap3pandora_out_dapm_widgets[] = {
|
||||
SND_SOC_DAPM_DAC("PCM DAC", "Playback", SND_SOC_NOPM, 0, 0),
|
||||
SND_SOC_DAPM_DAC("PCM DAC", "HiFi Playback", SND_SOC_NOPM, 0, 0),
|
||||
SND_SOC_DAPM_PGA_E("Headphone Amplifier", SND_SOC_NOPM,
|
||||
0, 0, NULL, 0, omap3pandora_hp_event,
|
||||
SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD),
|
||||
|
@ -181,6 +181,7 @@ static int omap3pandora_out_init(struct snd_soc_codec *codec)
|
|||
snd_soc_dapm_nc_pin(codec, "CARKITR");
|
||||
snd_soc_dapm_nc_pin(codec, "HFL");
|
||||
snd_soc_dapm_nc_pin(codec, "HFR");
|
||||
snd_soc_dapm_nc_pin(codec, "VIBRA");
|
||||
|
||||
ret = snd_soc_dapm_new_controls(codec, omap3pandora_out_dapm_widgets,
|
||||
ARRAY_SIZE(omap3pandora_out_dapm_widgets));
|
||||
|
|
Loading…
Reference in a new issue