Re: [PATCH v2] soundwire: stream: validate slave port properties
From: Vinod Koul
Date: Thu Aug 06 2026 - 04:42:15 EST
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