OSDN Git Service

ASoC: amd: ps: add support for SoundWire DMA interrupts
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Mon, 12 Jun 2023 09:58:59 +0000 (15:28 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 20 Jun 2023 22:30:29 +0000 (23:30 +0100)
commit298d4f7b176538d41356d145c044442b8456a14e
tree91b2ecadbf27951d7d4672f2b36ce0e55f1fc67c
parentf722917350ee0b802a62d888f4e8b23bd5f1f641
ASoC: amd: ps: add support for SoundWire DMA interrupts

Move to request_threaded_irq and use thread for handling
SoundWire DMA interrupts.
Whenever audio data equal to the SoundWire FIFO watermark level
are produced/consumed, interrupt is generated.
Acknowledge the interrupt and wake up the irq thread.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20230612095903.2113464-6-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/ps/acp63.h
sound/soc/amd/ps/pci-ps.c