Skip to content

Commit

Permalink
ASoC: da7219: Fix Sidetone to work regardless of DAI capture
Browse files Browse the repository at this point in the history
Previously Sidetone would operate only when capture to DAI was in
progress, due to DAPM path configuration. There is no reason why
this should not operate without DAI capture, so this patch updates
the DAPM path accordingly.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Adam Thomson authored and Mark Brown committed Dec 23, 2015
1 parent a737447 commit fdd50a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/soc/codecs/da7219.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,10 +968,11 @@ static const struct snd_soc_dapm_route da7219_audio_map[] = {
{"Mixin PGA", NULL, "Mic PGA"},
{"ADC", NULL, "Mixin PGA"},

{"Sidetone Filter", NULL, "ADC"},
{"Mixer In", NULL, "Mixer In Supply"},
{"Mixer In", "Mic Switch", "ADC"},

{"Sidetone Filter", NULL, "Mixer In"},

{"Tone Generator", NULL, "TONE"},

DA7219_OUT_DAI_MUX_ROUTES("Out DAIL Mux"),
Expand Down

0 comments on commit fdd50a8

Please sign in to comment.