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

Vinod Koul <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.sound
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.