]> 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)
commit27f33f9802d955bfcbdbe27f9d07f9cf4051bcf7
treed25ba33a19ffb2bb95ae822bf0352e43b1ed285a
parentb4018e5d2c61057b3c0e4984af326e96374266c7
parent2ae85ffe4c82b4bf8355915a94e4e403d8f2ac94
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