Asoc: SOF: Intel: hda: check SoundWire wakeen interrupt in irq thread
authorRander Wang <rander.wang@intel.com>
Wed, 25 Mar 2020 21:50:26 +0000 (16:50 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 27 Mar 2020 15:16:36 +0000 (15:16 +0000)
commit90de3281c86ae5378e951e84c76c4759390ff34d
tree54768b282323358eadfa44050053ee3d644bbeeb
parentbbd19cdca8279cf244a301c6a13ae5ec9e4ef976
Asoc: SOF: Intel: hda: check SoundWire wakeen interrupt in irq thread

If pci device is in D0, wakeen interrupt will be
aggregated at cAVS level as interrupt. This commit
check the wakeen status and process it in irq thread

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20200325215027.28716-11-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/hda.h