ASoC: dapm: Add snd_soc_dapm_switch to the power up/down sequence table
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 14 Jun 2013 11:16:50 +0000 (13:16 +0200)
committerMark Brown <broonie@linaro.org>
Fri, 14 Jun 2013 11:35:23 +0000 (12:35 +0100)
commitefc77e36ae6ff4394a0232a4f87bded0bd555d6b
tree80a9467215cffa1ca74b2d8b81918f38ff768a34
parent317ddd256b9c24b0d78fa8018f80f1e495481a10
ASoC: dapm: Add snd_soc_dapm_switch to the power up/down sequence table

The power up/down sequence order for DAPM switch widgets is not explicitly
initialized, causing them to be run always as the first widget type for both
power up and down. Move it to the same position in the sequence as other mixer
widget types.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c