From: Vinod Koul <vkoul@kernel.org>
To: linux-sound@vger.kernel.org,
Bard Liao <yung-chuan.liao@linux.intel.com>
Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org,
pierre-louis.bossart@linux.dev, bard.liao@intel.com,
simont@opensource.cirrus.com
Subject: Re: [PATCH] soundwire: Intel: test bus.bpt_stream before assigning it
Date: Mon, 09 Mar 2026 08:05:34 +0100 [thread overview]
Message-ID: <177303993466.65210.10532084437729459880.b4-ty@kernel.org> (raw)
In-Reply-To: <20260126054045.2504103-1-yung-chuan.liao@linux.intel.com>
On Mon, 26 Jan 2026 13:40:45 +0800, Bard Liao wrote:
> We only allow up to 1 bpt stream running on a SoundWire bus.
> bus.bpt_stream will be assigned when it is opened and will be set to
> NULL when it is closed. We do check bus->bpt_stream_refcount if the
> stream type is SDW_STREAM_BPT in sdw_master_rt_alloc(), but at that
> moment the bpt stream is allocated and set to bus.bpt_stream. It will
> lead to the original bus.bpt_stream be changed to the new and not used
> bpt stream. And it will be released and set to NULL when
> sdw_slave_bpt_stream_add() return error as it supposed to. Then the
> original stream will try to use the NULL bus.bpt_stream.
>
> [...]
Applied, thanks!
[1/1] soundwire: Intel: test bus.bpt_stream before assigning it
commit: b2c9f1d5a7eb50bcdda607afef1378e552bbb490
Best regards,
--
~Vinod
prev parent reply other threads:[~2026-03-09 7:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-26 5:40 Bard Liao
2026-03-09 7:05 ` Vinod Koul [this message]
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=177303993466.65210.10532084437729459880.b4-ty@kernel.org \
--to=vkoul@kernel.org \
--cc=bard.liao@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=pierre-louis.bossart@linux.dev \
--cc=simont@opensource.cirrus.com \
--cc=vinod.koul@linaro.org \
--cc=yung-chuan.liao@linux.intel.com \
/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®