linux/sound/soc/amd
Daniel Kurtz 8c6b964edd
ASoC: AMD: Do not generate interrups for every captured sample
On capture, audio data is first copied from I2S to ACP memory, and then
from ACP to SYSRAM.  The I2S_TO_ACP_DMA interrupt fires on every sample
transferred from I2S to ACP memory.  That is it fires ~48000 times per
second when capturing @ 48 kHz.  Since we don't do anything on this
interrupt anyway, disable it to save quite a few unnecessary interrupts.
The real "work" (calling snd_pcm_period_elapsed()) is done when transfer
from ACP to SYSRAM is complete.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-07-03 16:14:31 +01:00
..
include
acp-da7219-max98357a.c ASoC: AMD: Configure channel 1 or channel 0 for capture 2018-06-22 15:48:26 +01:00
acp-pcm-dma.c ASoC: AMD: Do not generate interrups for every captured sample 2018-07-03 16:14:31 +01:00
acp-rt5645.c ASoC: rt5645/rt5677: replace codec to component 2018-02-12 11:18:44 +00:00
acp.h ASoC: AMD: Fix Capture DMA channel names 2018-07-03 16:14:30 +01:00
Kconfig ASoC: AMD: Add machine driver for ST DA7219 MAX98357 2018-02-16 16:03:46 +00:00
Makefile ASoC: AMD: Add machine driver for ST DA7219 MAX98357 2018-02-16 16:03:46 +00:00