Re: [PATCH] ASoC: tegra: ADMAIF: allocate with a single kzalloc

From: Mark Brown

Date: Thu Apr 30 2026 - 20:57:31 EST


On Thu, Apr 30, 2026 at 02:42:02PM -0700, Rosen Penev wrote:
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> ---
> Consolidate the allocations for capture_dma_data and playback_dma_data
> into a single kzalloc by using a flexible array member at the end of
> the tegra_admaif struct. This reduces the number of allocations from
> three to one, simplifies error handling, and improves memory locality.
>

Why is the changelog for this included after the --- as something to be
removed from the commit?

Attachment: signature.asc
Description: PGP signature