From: Bard Liao <yung-chuan.liao@linux.intel.com>
To: linux-sound@vger.kernel.org, vkoul@kernel.org
Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org,
pierre-louis.bossart@linux.dev, peter.ujfalusi@linux.intel.com,
bard.liao@intel.com, david.lin@intel.com
Subject: [PATCH 0/2] soundwire: Fix bandwidth leak in multi-link aggregation failure
Date: Mon, 2 Nov 2026 14:04:35 +0800 [thread overview]
Message-ID: <20261102060437.824814-1-yung-chuan.liao@linux.intel.com> (raw)
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
next reply other threads:[~2026-11-02 6:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 6:04 Bard Liao [this message]
2026-11-02 6:04 ` [PATCH 1/2] soundwire: move lane bandwidth into bus params Bard Liao
2026-11-02 6:04 ` [PATCH 2/2] soundwire: stream: Fix bandwidth leak in multi-link aggregation failure Bard Liao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261102060437.824814-1-yung-chuan.liao@linux.intel.com \
--to=yung-chuan.liao@linux.intel.com \
--cc=bard.liao@intel.com \
--cc=david.lin@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=vinod.koul@linaro.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®