]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Fix DAPM sequence run for per-widget I/O methods
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 19 Jun 2011 12:49:28 +0000 (13:49 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Jun 2011 10:27:10 +0000 (11:27 +0100)
commit1dba4ed7916ff73f145f3e5ce323f30da69ec70b
tree14964d4cf160db701097ed1440d6ca6c2ab1ad26
parent8a9e30b1c8055e7c780f12bdc427d3553d0dbe18
ASoC: Fix DAPM sequence run for per-widget I/O methods

Previously we were using the DAPM context rather than a widget as the
argument for update_bits() so we didn't need to care that our list walk
of widgets left us one beyond the end of the list. Now we're using them
for the register update we need to make sure we're pointing at an actual
widget not the list_head.

Fix originally suggested by Liam on IM.

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