diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2016-05-31 12:44:17 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-31 14:35:49 +0100 |
commit | 546ad3d024fd47e5042d80ae1dc4c7d1b00912a7 (patch) | |
tree | 67df210c278996a980c5b4411d32e450b0021839 /Documentation/timers | |
parent | 7baa7e2490e1c292a84406c90089511c96ce3114 (diff) | |
download | op-kernel-dev-546ad3d024fd47e5042d80ae1dc4c7d1b00912a7.zip op-kernel-dev-546ad3d024fd47e5042d80ae1dc4c7d1b00912a7.tar.gz |
ASoC: arizona: Add data structure for voice trigger notifier
64-bit builds would generate a warning when we passed the core number as
a pointer through the notifier data:
sound/soc/codecs/cs47l24.c:1091:13: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
(void *)i);
Rather than just fix this up with more casting add a data structure that
holds information for the notifier chain. This will make it easier to
add additional information in the future as well.
Fixes: 7baa7e2490e1 ("ASoC: arizona: Add event notification on voice trigger events")
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/timers')
0 files changed, 0 insertions, 0 deletions