]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2552: Fix PM sequencing
authorDan Murphy <dmurphy@ti.com>
Fri, 18 Jul 2014 17:31:07 +0000 (12:31 -0500)
committerMark Brown <broonie@linaro.org>
Mon, 21 Jul 2014 12:18:44 +0000 (13:18 +0100)
commit3a864f973ea5baf122c21a0b1ba34752d5c9201c
tree18f814caafe8f9b6aa1a5cf3059e509b0aea8666
parentc00918fed88de314f23303b151ace0ef99d292ea
ASoC: tas2552: Fix PM sequencing

In the pm suspend/resume it is better
to disable the GPIO after the regmap_cache
setting calls so that if the call is interrupted
the new reg values will be cached and set on resume.

Also add pm_runtime_put in the remove call.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/tas2552.c