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)
commite295a4a43e90d46d3b16374dc908533bb40a3936
tree18f814caafe8f9b6aa1a5cf3059e509b0aea8666
parent5df7f71d5cdfbcbfd7e1b68df9994609d33f7e58
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