ASoC: wm_hubs: Factor out class W management
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Apr 2012 20:29:29 +0000 (21:29 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 27 Apr 2012 17:42:11 +0000 (18:42 +0100)
commitc340304dd8855a61a2e1bcdd5bde6b90408481a9
tree720076a2eb7c4f6464851ddfa58b6aa66acbe6c5
parentaf31a227e1abee06ccd88c2c52f4fb36b786cebe
ASoC: wm_hubs: Factor out class W management

Since the analogue portions of the checks for class W are the same over
all the devices factor out these checks into wm_hubs and while we're at
it also use wm_hubs_dac_hp_direct() to enable class W optimisations on
more paths.

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