ASoC: SOF: Intel: hda: Correct Firmware State Register use
authorMark Brown <broonie@kernel.org>
Tue, 12 Jul 2022 18:21:45 +0000 (19:21 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 12 Jul 2022 18:21:45 +0000 (19:21 +0100)
commit4e90651e52100ffb55828c0a6e4f1480eaa7b508
tree7a3da43d857d69d2e23e307b5b0b64e87eb5b866
parent4457fbd66bdb93c739ce2404a97c510eaf65e244
parent15d8370cf6d5b3316ad58954086433301363be67
ASoC: SOF: Intel: hda: Correct Firmware State Register use

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

The FSR (Firmware State Register) holds the ROM state information, it does not
contain error information.
The FSR itself is a bit more complicated as well as the state depends on the
module currently in use.

The error code from ROM or the status code from the firmware is located at the
next register.

Fix the handling of the FSR in order to provide usable and human readable (in
most cases) report on the status and error.
sound/soc/sof/intel/hda.h