]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: Correct Firmware State Register use
authorMark Brown <broonie@kernel.org>
Tue, 23 Aug 2022 18:48:41 +0000 (19:48 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 23 Aug 2022 18:48:41 +0000 (19:48 +0100)
commitc2cd416e747f20d2d1cbfc60ad2b41f90fde2d9b
treed25ba33a19ffb2bb95ae822bf0352e43b1ed285a
parent0319a59b1a2991ac97d5c5903a662ec3f282b203
parent563e4494954a65be01cf7de3dd0e9e75742de985
ASoC: SOF: Intel: hda: Correct Firmware State Register use

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

Hi,

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.

Regards,
Peter
---
Peter Ujfalusi (3):
  ASoC: SOF: Intel: hda: Correct the ROM/FW state reporting code
  ASoC: SOF: Intel: hda-loader: Use the FSR state definitions during
    bootup
  ASoC: SOF: Intel: hda: Drop no longer used ROM state definitions

 sound/soc/sof/intel/hda-loader.c |  10 +--
 sound/soc/sof/intel/hda.c        | 147 ++++++++++++++++++++++++++-----
 sound/soc/sof/intel/hda.h        |  69 +++++++++++++--
 3 files changed, 194 insertions(+), 32 deletions(-)

--
2.37.0