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

From: Rosen Penev

Date: Thu Apr 30 2026 - 21:15:28 EST


On Thu, Apr 30, 2026 at 5:57 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> 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?
Me being careless. That is, it was written after git format-patch. Will resend.