Re: [PATCH v2 1/4] ASoC: Constify channel mapping array arguments in set_channel_map()

From: Krzysztof Kozlowski
Date: Wed May 08 2024 - 04:25:47 EST


On 08/05/2024 10:16, Krzysztof Kozlowski wrote:
> There is no need for implementations of DAI set_channel_map() to modify
> contents of passed arrays with actual channel mapping. Additionally,
> the caller keeps full ownership of the array.
>
> Constify these pointer arguments so the code will be safer and easier to
> read (documenting the caller's ownership).
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Oh, crap, I forgot Ack from Charles. I'll wait till tomorrow and send a
new version with the tag included (unless some review comes).

Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Best regards,
Krzysztof