Skip to content

ASoC: Intel: Haswell: Adjust machine device private

Cezary Rojewski alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: Intel: Haswell: Adjust machine device private contextsound/soc/intel/common/sst-acpi.c+2 -113 replies
2/4ASoC: Intel: haswell: Simplify device probesound/soc/intel/boards/haswell.c+1 -51 reply
3/4ASoC: Intel: bdw-rt5677: Simplify device probesound/soc/intel/boards/bdw-rt5677.c+1 -51 reply
4/4ASoC: Intel: broadwell: Simplify device probesound/soc/intel/boards/broadwell.c+1 -51 reply

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchPierre-Louis Bossart
SeriesT-b
1/4T-b
2/4T-b
3/4T-b
4/4T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ASoC: Intel: Haswell: Adjust machine device private

Apart from Haswell machines, all other devices have their private data set to snd_soc_acpi_mach instance.

Changes for HSW/ BDW boards introduced with series:
https://patchwork.kernel.org/cover/10782035/

added support for dai_link platform_name adjustments within card probe routines. These take for granted private_data points to snd_soc_acpi_mach whereas for Haswell, it's sst_pdata instead. Change private context of platform_device - representing machine board - to address this.

Caught by recent cleanups where content of sst_pdata was moved. Currently, despite the incorrect cast, dereferenced field points happily to NULL (uninitialized field), so no panics were observed.

Cezary Rojewski (4):
ASoC: Intel: Haswell: Adjust machine device private context
ASoC: Intel: haswell: Simplify device probe
ASoC: Intel: bdw-rt5677: Simplify device probe
ASoC: Intel: broadwell: Simplify device probe

 sound/soc/intel/boards/bdw-rt5677.c | 6 +-----
 sound/soc/intel/boards/broadwell.c  | 6 +-----
 sound/soc/intel/boards/haswell.c    | 6 +-----
 sound/soc/intel/common/sst-acpi.c   | 3 ++-
 4 files changed, 5 insertions(+), 16 deletions(-)
Signature · 1 line
2.17.1