Skip to content

Commit 7e1f7c8

Browse files
committed
ASoC: dapm: Ensure power gets managed for line widgets
Line widgets had not been included in either the power up or power down sequences so if a widget had an event associated with it that event would never be run. Fix this minimally by adding them to the sequences, we should probably be doing away with the specific widget types as they all have the same priority anyway. Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
1 parent 8abe05c commit 7e1f7c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/soc/soc-dapm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ static int dapm_up_seq[] = {
6767
[snd_soc_dapm_out_drv] = 10,
6868
[snd_soc_dapm_hp] = 10,
6969
[snd_soc_dapm_spk] = 10,
70+
[snd_soc_dapm_line] = 10,
7071
[snd_soc_dapm_post] = 11,
7172
};
7273

@@ -75,6 +76,7 @@ static int dapm_down_seq[] = {
7576
[snd_soc_dapm_adc] = 1,
7677
[snd_soc_dapm_hp] = 2,
7778
[snd_soc_dapm_spk] = 2,
79+
[snd_soc_dapm_line] = 2,
7880
[snd_soc_dapm_out_drv] = 2,
7981
[snd_soc_dapm_pga] = 4,
8082
[snd_soc_dapm_mixer_named_ctl] = 5,

0 commit comments

Comments
 (0)