]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: cnl-ipc: read all IPC registers first
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 3 Jun 2019 16:20:26 +0000 (11:20 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 3 Jun 2019 16:48:02 +0000 (17:48 +0100)
commit93eee3a3ba9bbc040b7db915035a64138ec3cedd
tree12df5df3bfc75605ba1846e6e270f3f36f8d0fd5
parentad4c5dd510a590f0ce6b2ed73e8da5259379af0a
ASoC: SOF: Intel: cnl-ipc: read all IPC registers first

Align with hardware recommended sequences, and read all IPC registers
before doing any other actions. Playing with BUSY and DONE bits may
invalidate values.

The values read may not actually be necessary but at least this
provides a snapshot of the IPC registers with no consistency issues.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/cnl.c