Re: [RESEND v5 3/4] soundwire: qcom: Add set_channel_map api support

From: Vinod Koul
Date: Mon Jan 06 2025 - 02:31:07 EST


On 03-01-25, 11:29, Mohammad Rafi Shaik wrote:
> Added qcom_swrm_set_channel_map api to set the master channel mask for
> TX and RX paths based on the provided slots.
>
> Added a new field ch_mask to the qcom_swrm_port_config structure.
> This field is used to store the master channel mask, which allows more
> flexible to configure channel mask in runtime for specific active
> soundwire ports.
>
> Modified the qcom_swrm_port_enable function to configure master
> channel mask. If the ch_mask is set to SWR_INVALID_PARAM or is zero,
> the function will use the default channel mask.

Acked-by: Vinod Koul <vkoul@xxxxxxxxxx>


--
~Vinod