Skip to content

ASoC: Intel: avs: Fixes and cleanups

Cezary Rojewski linux-sound 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13ASoC: Intel: avs: Do not readq() u32 registerssound/soc/intel/avs/loader.c+1 -10 replies
2/13ASoC: Intel: avs: Fix the minimum firmware version numberssound/soc/intel/avs/core.c+7 -70 replies
3/13ASoC: Intel: avs: Fix theoretical infinite loopsound/soc/intel/avs/apl.c+1 -10 replies
4/13ASoC: Intel: avs: Fix init-config parsingsound/soc/intel/avs/topology.c+2 -20 replies
5/13ASoC: Intel: avs: Update hda component teardown sequencessound/soc/intel/avs/pcm.c+2 -10 replies
6/13ASoC: Intel: avs: Print IPC error messages in lower layersound/soc/intel/avs/loader.c sound/soc/intel/avs/messages.c+18 -120 replies
7/13ASoC: Intel: avs: Add MODULE_FIRMWARE to inform about FWsound/soc/intel/avs/core.c+10 -04 replies
8/13ASoC: Intel: avs: Clearly state assumptions of hw_params()sound/soc/intel/avs/pcm.c+2 -00 replies
9/13ASoC: Intel: avs: Improve logging of firmware loadingsound/soc/intel/avs/loader.c+16 -100 replies
10/13ASoC: Intel: avs: Update ASRC definitionsound/soc/intel/avs/messages.h+1 -20 replies
11/13ASoC: Intel: avs: Adjust DSP status register namessound/soc/intel/avs/loader.c sound/soc/intel/avs/registers.h+7 -70 replies
12/13ASoC: Intel: avs: Adjust IPC tracessound/soc/intel/avs/ipc.c sound/soc/intel/avs/trace.h+35 -280 replies
13/13ASoC: Intel: avs: Add missing includessound/soc/intel/avs/debugfs.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/13] ASoC: Intel: avs: Fixes and cleanups

A set of loosely connected changes, fixing few outstanding issues as well as improving readability of the existing code.

The fixes lead the series, first five patches. The goal is to make sure proper read() is used when accessing the registers, probe() and remove() sequences for HDAudio streaming are synced, minimal AudioDSP firmware version points to correct values and recent additions to the topology are parsed properly.

The only patch that points to 'new functionality' is:
ASoC: Intel: avs: Update ASRC definition

as with the struct definition updates, one can utilize the ASRC module in both streaming directions now (previously limited to Capture). Everything else either improves the logging or provides comments vital for long-term maintenance of the code.

Amadeusz Sławiński (4):
ASoC: Intel: avs: Fix init-config parsing
ASoC: Intel: avs: Print IPC error messages in lower layer
ASoC: Intel: avs: Add MODULE_FIRMWARE to inform about FW
ASoC: Intel: avs: Update ASRC definition

Cezary Rojewski (9):
ASoC: Intel: avs: Do not readq() u32 registers
ASoC: Intel: avs: Fix the minimum firmware version numbers
ASoC: Intel: avs: Fix theoretical infinite loop
ASoC: Intel: avs: Update hda component teardown sequences
ASoC: Intel: avs: Clearly state assumptions of hw_params()
ASoC: Intel: avs: Improve logging of firmware loading
ASoC: Intel: avs: Adjust DSP status register names
ASoC: Intel: avs: Adjust IPC traces
ASoC: Intel: avs: Add missing includes

 sound/soc/intel/avs/apl.c       |  2 +-
 sound/soc/intel/avs/core.c      | 24 +++++++++++++++------
 sound/soc/intel/avs/debugfs.c   |  1 +
 sound/soc/intel/avs/ipc.c       | 25 +++++++++++++---------
 sound/soc/intel/avs/loader.c    | 36 ++++++++++++++++---------------
 sound/soc/intel/avs/messages.c  | 22 +++++++++++++------
 sound/soc/intel/avs/messages.h  |  3 +--
 sound/soc/intel/avs/pcm.c       |  5 ++++-
 sound/soc/intel/avs/registers.h |  2 +-
 sound/soc/intel/avs/topology.c  |  4 ++--
 sound/soc/intel/avs/trace.h     | 38 +++++++++++++++++----------------
 11 files changed, 97 insertions(+), 65 deletions(-)
Signature · 1 line
2.25.1