]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda-ipc: read all IPC registers first
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 3 Jun 2019 16:20:29 +0000 (11:20 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 3 Jun 2019 16:48:47 +0000 (17:48 +0100)
commitaf5615b1f2258dbade23d44d5ddb99b9ec23a9c7
tree604b5f36d5b8b53c30e7777cd257b3ac9ed6b276
parent11e93bafe235cb7905ab1b5e3d111e092458b04d
ASoC: SOF: Intel: hda-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/hda-ipc.c