mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Eric Wu <kunjinkao.jp@gmail.com>
Cc: pierre-louis.bossart@linux.dev, yung-chuan.liao@linux.intel.com,
	 ckeepax@opensource.cirrus.com, linux-sound@vger.kernel.org,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] soundwire: stream: validate slave port properties
Date: Thu, 06 Aug 2026 14:09:26 +0530	[thread overview]
Message-ID: <178600556670.593040.8196517712081701814.b4-ty@kernel.org> (raw)
In-Reply-To: <20260731123415.34070-1-kunjinkao.jp@gmail.com>


On Fri, 31 Jul 2026 20:34:15 +0800, Eric Wu wrote:
> sdw_slave_port_config() validates that a port number is within the
> generic valid range, but does not verify that the Slave exposes the
> port for the requested stream direction. As a result, an in-range but
> unsupported port, or a valid port used in the wrong direction, can be
> accepted.
> 
> Use sdw_get_slave_dpn_prop() to perform the direction-specific lookup
> and reject unsupported ports before storing the runtime configuration.
> 
> [...]

Applied, thanks!

[1/1] soundwire: stream: validate slave port properties
      commit: cd4a294c4b2dcdf86b87128ce4d2023fc016a285

Best regards,
-- 
~Vinod



      reply	other threads:[~2026-08-06  8:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-31 12:34 Eric Wu
2026-08-06  8:39 ` 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=178600556670.593040.8196517712081701814.b4-ty@kernel.org \
    --to=vkoul@kernel.org \
    --cc=ckeepax@opensource.cirrus.com \
    --cc=kunjinkao.jp@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=pierre-louis.bossart@linux.dev \
    --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®