]> 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)
commit546f6ce5dd57466c5d5ac15392e9d0aca4eb5b34
tree7a3da43d857d69d2e23e307b5b0b64e87eb5b866
parentc2492487d85cdf07e17464d14a9cdeb6188451c3
parent9ce182174f61720337cbd03c1ebcd3a425a32181
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