]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ASoC: Fix early event callback list iteration
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 22 May 2013 22:12:53 +0000 (00:12 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 May 2013 22:32:58 +0000 (17:32 -0500)
commitcf1f7c6e8756646db7a0d883013cedd90eb90dd4
treeada7d466baba3242275210a9bea3439e594f3cc1
parent7d0cd22382f80243e7fce16f6bfc0720d5688370
ASoC: Fix early event callback list iteration

The power_list field is used when adding a widget to a power sequence list. Use
the same field when iterating the list using list_for_each_entry, otherwise
we'll see undefined behavior.

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