ASoC - Output widgets
Quoted 7 lines · Alexandre BOUIN
- 1
SND_SOC_DAPM_MIXERis connected to 2SND_SOC_DAPM_PGAwith power
control.
- each PGA is connected to anSND_SOC_DAPM_OUTPUT
- according to tosa example :
- first OUTPUT is connected to aSND_SOC_DAPM_HPdefined as endpoint
- second OUTPUT is connected to aSND_SOC_DAPM_SPKdefined as endpoint
this SPK is set disconnected in mytosa_ac97_init-like function
Could you please post dmesg output with DAPM_DEBUG turned on which shows this happening?
Quoted 3 lines
Could you please post dmesg output with
DAPM_DEBUGturned on which shows
this happening?
Here is my DAPM_DEBUG traces :
Please notice that for some internal reasons, this driver is not at all the same as wolfson release ;)
DAPM WM8900 snd_soc_dapm_stream_event
FM Transmitter: On in 2 out 1
in static FMOUT_R
in static FMOUT_L
Headphone Jack: On in 2 out 1
in static HPOUT_R
in static HPOUT_LHPOUT_R: Off in 2 out 1
in static HPOUT CP
out static Headphone JackHPOUT_L: Off in 2 out 1
in static HPOUT CP
out static Headphone JackFMOUT_R: Off in 1 out 1
in static FMOUT_R PGA
out static FM TransmitterFMOUT_L: Off in 1 out 1
in static FMOUT_L PGA
out static FM Transmitter
HPOUT CP: On in 2 out 2
in static HPOUT_R PGA
in static HPOUT_L PGA
out static HPOUT_R
out static HPOUT_LHPOUT_R PGA: On in 1 out 2
in static MIXOUT_R
out static HPOUT CPHPOUT_L PGA: On in 1 out 2
in static MIXOUT_L
out static HPOUT CPFMOUT_R PGA: On in 1 out 1
in static MIXOUT_R
out static FMOUT_RFMOUT_L PGA: On in 1 out 1
in static MIXOUT_L
out static FMOUT_LMIXOUT_R: On in 1 out 3
in DAC_R Switch DAC_R
out static HPOUT_R PGA
out static FMOUT_R PGAMIXOUT_L: On in 1 out 3
in DAC_L Switch DAC_L
out static HPOUT_L PGA
out static FMOUT_L PGADAC_R: On in 1 out 3
out DAC_R Switch MIXOUT_RDAC_L: On in 1 out 3
out DAC_L Switch MIXOUT_L
I initialize FM Transmitter like this :
snd_soc_dapm_set_endpoint(codec, "FM Transmitter", 0);
but it still enabled. Why ?
Do you have any ideas on why both HP and FMOUT PGAs are powered ?
Thanks.
Regards,
Alex.