]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ASoC: wm_adsp: Add a handler for the compressed IRQ
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 6 Jan 2016 12:33:18 +0000 (12:33 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 6 Jan 2016 17:44:17 +0000 (17:44 +0000)
commit565ace464105cb9623cbf4eb9549d4b0c24166c9
tree3fe6fd5dbeb0c9ece4644fba3cf04d6bc0ba88f7
parent95fe9597d2494e8c4c9064fca1e12d1c03733ae7
ASoC: wm_adsp: Add a handler for the compressed IRQ

Here support is added for responding to DSP IRQs that are used to
indicate data being available on the DSP. The idea is that we check the
amount of data available upon receipt of an IRQ and on subsequent calls
to the pointer callback we recheck once less than one fragment is
available (to avoid excessive SPI traffic), if there is truely less than
one fragment available we ack the last IRQ and wait for a new one.

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