Messages in this thread | | | Date | Wed, 8 May 2024 10:25:34 +0200 | Subject | Re: [PATCH v2 1/4] ASoC: Constify channel mapping array arguments in set_channel_map() | From | Krzysztof Kozlowski <> |
| |
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@linaro.org>
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@opensource.cirrus.com>
Best regards, Krzysztof
| |