]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Fix dapm_seq_compare() for multi-component
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 12 Nov 2010 15:14:55 +0000 (15:14 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Nov 2010 13:19:32 +0000 (13:19 +0000)
commit820e0d7ff4461858629d915623d9f94c0ae1b34c
treec65d85931047068e4d1c0080b65f133e38ef1bdb
parent58ba880a2fba4c5d11d015682d8066223f206381
ASoC: Fix dapm_seq_compare() for multi-component

Ensure that we keep all widget powerups in DAPM sequence by making
the CODEC the last thing we compare on rather than the first thing.
Also fix the fact that we're currently comparing the widget pointers
rather than the CODEC pointers when we do the substraction so we
won't get stable results.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c