Re: [PATCH v2] soundwire: stream: validate slave port properties

Vinod Koul <[email protected]> Thu, 06 Aug 2026 14:09:26 +0530
Newsgroups org.kernel.vger.linux-sound,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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