Re: [PATCH v3 04/10] soundwire: stream: Clean up allocated runtime resources on config failure

From: HyeongJun An

Date: Mon Nov 23 2026 - 20:17:52 EST


Hello Lee,

I tested v3 on the same Dell Latitude 9420 as v2 (Tiger Lake, SOF IPC3,
sof_sdw with rt711-sdca, two aggregated rt1316 and rt714), on soundwire
next afd88e7ad781 with all ten patches applied. Only the soundwire-bus
and soundwire-intel modules differed between the runs. Two local changes
outside SoundWire were loaded in both runs, my SOF control range check
and a debug print in rt711-sdca.

With and without the series, all four peripherals attach, and playback
and capture work on every endpoint. 40 start/stop cycles of the
multi-link Speaker stream pass, 10 of them after the links had runtime
suspended. All links stream at the same time, and Jack Out start/stop
while Speaker is playing passes. ALSA pcm-test shows 24 pass and 0
fail. There are no SoundWire or SOF errors or warnings in the kernel
log.

These runs only take the normal stream setup path, so the port and
stream configuration failures that this patch handles were not hit.

Tested-by: HyeongJun An <sammiee5311@xxxxxxxxx>

I ran these with Claude Code (Claude Opus 5.5) on the laptop.

Best regards,
HyeongJun An