ASoC: arizona: Call arizona_init_notifiers for all CODECs
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 10 Nov 2016 15:24:15 +0000 (15:24 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 10 Nov 2016 16:20:24 +0000 (16:20 +0000)
commit88c1886075e069f699c20fbc04ef6f10b8eb8c43
tree0333ea092d2403e5eecd2253cd327f8eca50e9a7
parentd3d5c90556301dc1f3afe5a4e1133ddd1f43858b
ASoC: arizona: Call arizona_init_notifiers for all CODECs

The call to arizona_init_notifiers was only added for CODECs that are
generating voice trigger events, however, this is somewhat annoying
for machine drivers that might be used with multiple CODECs as they
need to conditionally register for the notifier, depending on the
CODEC being attached.

As the cost of initialising the notifier is so minimal, and we may
well add other events in the future that apply to more CODECs, simply
do this for all Arizona CODECs.

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