aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/sound
diff options
context:
space:
mode:
authorKai Vehmanen <kai.vehmanen@linux.intel.com>2019-07-22 09:13:58 -0500
committerMark Brown <broonie@kernel.org>2019-07-23 12:22:02 +0100
commita3ebccb52efdfb3459fa51516238cc464ee310c9 (patch)
tree01bcd3867f5322630b977b66b0b428292c7bc28a /include/uapi/sound
parentASoC: SOF: Intel: hda: add a parameter to disable MSI (diff)
downloadwireguard-linux-a3ebccb52efdfb3459fa51516238cc464ee310c9.tar.xz
wireguard-linux-a3ebccb52efdfb3459fa51516238cc464ee310c9.zip
ASoC: SOF: Intel: hda: reset link DMA state in prepare
When application goes through SUSPEND/STOP->PREPARE->START cycle, we should always reprogram the DAI link DMA to ensure it is in sync with the host PCM DMA. Use same state tracking logic to handle both restart and system resume flows. Use link_prepared field of 'struct hdac_ext_stream' to store the state, instead of adding redundant fields to SOF specific structs. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20190722141402.7194-18-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi/sound')
0 files changed, 0 insertions, 0 deletions