]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: modify stream interrupt handler
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Wed, 12 Jun 2019 17:23:40 +0000 (12:23 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jun 2019 12:44:39 +0000 (13:44 +0100)
commit8bd2e0eb7ca818a8f63365c347d46a9b2eb1e8df
treebe73cac8fbd0b5f62a6cf226ce208a7fd2f9461f
parent8b5328c0c8e5d7aa8cb142a7c9aa26e0a9814d3c
ASoC: SOF: Intel: hda: modify stream interrupt handler

Modify the stream interrupt handler to always wake up the
IRQ thread if the status register is valid. The IRQ thread
performs the check for stream interrupts and RIRB interrupts
in a loop to handle the case of missed interrupts when an
unsolicited response from the codec is received just before the
stream interrupt handler is completed.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-stream.c