diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-05-03 03:30:37 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-04 16:01:48 +0300 |
| commit | 7ff50c1f3183f00ad09fbee94d059fe6c88827f8 (patch) | |
| tree | c0dfefc37f2ecc33470e7f208bceff93ee1924ca /include | |
| parent | b772d5b485553db60b7561fc9327bd69b4745bf6 (diff) | |
| download | linux-7ff50c1f3183f00ad09fbee94d059fe6c88827f8.tar.xz | |
ASoC: tegra: ADMAIF: allocate with a single kzalloc
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.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260503003037.11942-1-rosenp@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
