Skip to content

ASoC: SOF: Clean up the probe support

Peter Ujfalusi alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ASoC: SOF: ipc: Add probe message logging to ipc_log_header()sound/soc/sof/ipc.c+23 -00 replies
2/6ASoC: SOF: pcm: Remove non existent CONFIG_SND_SOC_SOF_COMPRESS referencesound/soc/sof/pcm.c sound/soc/sof/sof-priv.h+0 -90 replies
3/6ASoC: SOF: compress: move and export sof_probe_compr_opssound/soc/sof/compress.c sound/soc/sof/compress.h sound/soc/sof/intel/hda-dai.c+34 -500 replies
4/6ASoC: SOF: probe: Merge and clean up the probe and compress filessound/soc/sof/Makefile sound/soc/sof/compress.c sound/soc/sof/compress.h +7 more+221 -3640 replies
5/6ASoC: SOF: Intel: Rename hda-compress.c to hda-probes.csound/soc/sof/intel/Makefile sound/soc/sof/intel/hda-probes.c+1 -10 replies
6/6ASoC: SOF: sof-probes: Correct the function names used for snd_soc_cdai_opssound/soc/sof/sof-probes.c+6 -60 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchPierre-Louis BossartKai VehmanenRanjani Sridharan
1/6R-b R-b R-b
2/6R-b R-b R-b
3/6R-b R-b
4/6R-b R-b R-b
5/6R-b R-b R-b
6/6R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] ASoC: SOF: Clean up the probe support

Hi,

The probe debug feature of SOF can be used to extract streams of data from a given point of a pipeline for analysis.

The support is implemented by using the ALSA/ASoC compress support for the capture stream, but the code can not be used by/for a normal compressed data stream. It is a debug feature.

Merge the probe implementation in the core (compress.c/h and probe.c/h) into one file: sof-probes.c/h

Rename the Intel HDA specific probe implementation from hda-compressc.c to hda-probes.c

We also need to add IPC logging support for the probes messages and drop the unused references to SOF compress to have reasonably clean code.

Regards,
Peter
---
Peter Ujfalusi (5):
ASoC: SOF: ipc: Add probe message logging to ipc_log_header()
ASoC: SOF: pcm: Remove non existent CONFIG_SND_SOC_SOF_COMPRESS
reference
ASoC: SOF: probe: Merge and clean up the probe and compress files
ASoC: SOF: Intel: Rename hda-compress.c to hda-probes.c
ASoC: SOF: sof-probes: Correct the function names used for
snd_soc_cdai_ops

Ranjani Sridharan (1):
ASoC: SOF: compress: move and export sof_probe_compr_ops

 sound/soc/sof/Makefile                        |   3 +-
 sound/soc/sof/compress.c                      | 147 ---------
 sound/soc/sof/compress.h                      |  32 --
 sound/soc/sof/core.c                          |   2 +-
 sound/soc/sof/debug.c                         |   2 +-
 sound/soc/sof/intel/Makefile                  |   2 +-
 sound/soc/sof/intel/hda-dai.c                 |  16 +-
 .../intel/{hda-compress.c => hda-probes.c}    |   0
 sound/soc/sof/ipc.c                           |  23 ++
 sound/soc/sof/pcm.c                           |   6 +-
 sound/soc/sof/probe.h                         |  85 ------
 sound/soc/sof/sof-priv.h                      |   5 -
 sound/soc/sof/{probe.c => sof-probes.c}       | 280 +++++++++++-------
 sound/soc/sof/sof-probes.h                    |  38 +++
 14 files changed, 248 insertions(+), 393 deletions(-)
 delete mode 100644 sound/soc/sof/compress.c
 delete mode 100644 sound/soc/sof/compress.h
 rename sound/soc/sof/intel/{hda-compress.c => hda-probes.c} (100%)
 delete mode 100644 sound/soc/sof/probe.h
 rename sound/soc/sof/{probe.c => sof-probes.c} (52%)
 create mode 100644 sound/soc/sof/sof-probes.h
Signature · 1 line
2.33.0