ASoC: arizona: Use auto disable muxes for routing
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 1 May 2015 11:37:27 +0000 (12:37 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 6 May 2015 16:16:25 +0000 (17:16 +0100)
commit21a37e39e02d7f57691219fee88cf1d48a74e5bd
treed00b5b9609009fef2e1a742004d5615d5fb6195d
parentb787f68c36d49bb1d9236f403813641efa74a031
ASoC: arizona: Use auto disable muxes for routing

The mixer core on the Arizona devices is powered up whenever any routing
is non-zero. This patch saves a little power and avoids a few difficult
corner cases (around the mixer core being powered whilst there is no
clock available), by using the autodisable mux functionality to only
write out the settings for the muxes when they are powered up.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona.h