]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: wm_hubs: Improve single ended line output enable performance
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 8 Feb 2012 18:51:42 +0000 (18:51 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 11 Feb 2012 23:11:20 +0000 (23:11 +0000)
commit5f2f38904019bbffb107767c55d9e781c94941ef
tree21a9578f10799f8bf6cf83dcef774974df4429c3
parent0f613c21d652079d39a4906cbe311587705632b5
ASoC: wm_hubs: Improve single ended line output enable performance

The enable of the single ended line outputs on wm_hubs devices performs
better if the output is enabled prior to starting VMID. Since inactive
outputs are held at VMID anyway there is little cost to doing this for
unused outputs. Add callbacks into wm_hubs and keep track of which outputs
are really active so we can disable them once we're active.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8993.c
sound/soc/codecs/wm8994.c
sound/soc/codecs/wm_hubs.c
sound/soc/codecs/wm_hubs.h