[PATCH 0/2] soundwire: Fix bandwidth leak in multi-link aggregation failure
From: Bard Liao
Date: Mon Nov 02 2026 - 01:05:26 EST
The existing code only copies the params from the first link to the
bus params, but it doesn't copy the bandwidth from the other links.
This can lead to a bandwidth leak when multi-link aggregation fails.
Fix this by saving a snapshot of each bus's parameters before making
any modifications.
Bard Liao (1):
soundwire: move lane bandwidth into bus params
David Lin (1):
soundwire: stream: Fix bandwidth leak in multi-link aggregation
failure
drivers/soundwire/bus.h | 3 +++
.../soundwire/generic_bandwidth_allocation.c | 8 +++----
drivers/soundwire/stream.c | 21 +++++++++++++------
include/linux/soundwire/sdw.h | 4 ++--
4 files changed, 24 insertions(+), 12 deletions(-)
--
2.43.0