]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e17fbce286fccc0a0ac168de5f4e8b3cb588c75
tree0333ea092d2403e5eecd2253cd327f8eca50e9a7
parent3f1e7c41eacd35d6e50382c4f5022d781e57b40b
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