ASoC: tpa6130a2: Add DAPM support
authorHelen Koike <helen.koike@collabora.co.uk>
Thu, 23 Jun 2016 19:23:13 +0000 (16:23 -0300)
committerMark Brown <broonie@kernel.org>
Sun, 26 Jun 2016 11:28:13 +0000 (12:28 +0100)
commit6d2de5ab4328718302c54b20222c6b1a574c3fce
tree9d399249d7f5ae34104f54d12a1bb5220e510de5
parente01d700c399d8d899850a1e5fad5227a9d976304
ASoC: tpa6130a2: Add DAPM support

Add DAPM support and updated rx51 accordingly.
As a consequence:
- the exported function tpa6130a2_stereo_enable is not needed anymore
- the mutex is dealt in the DAPM
- the power state is tracked by the DAPM

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
[koike: port for upstream]
Signed-off-by: Helen Koike <helen.koike@collabora.co.uk>
Tested-by: Sebastian Reichel <sre@kernel.org>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tpa6130a2.c
sound/soc/codecs/tpa6130a2.h
sound/soc/omap/rx51.c