]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: jack: Always update jack state even for noop changes
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 25 Jul 2012 21:57:35 +0000 (22:57 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Aug 2012 22:03:56 +0000 (23:03 +0100)
commit84a6cb67ce66b30234954545d7d7385439a19739
treea76fb19434f5f378052d101971129d1bea7ab6ca
parent895708b2f2468fc8dff40dc0479d2a25b72ad4d4
ASoC: jack: Always update jack state even for noop changes

Now that DAPM is very cheap for most updates we've no need to avoid trying
to run it so always notify even if we don't think there are any changes.
This avoids potential issues with bootstrapping state like the pin state
or other notifiers when there's nothing in the jack.

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