]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad1bc82851c7ccf9ecc634163f6ba482d5ce904d
tree7a3da43d857d69d2e23e307b5b0b64e87eb5b866
parentd0c8da56b679cafbafb4908fb512d57d4b0fa88f
parentfbec2bea043caef0c595248b707b8214828308e6
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