diff options
| author | John Madieu <john.madieu.xa@bp.renesas.com> | 2026-05-25 14:02:19 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-01 17:30:17 +0300 |
| commit | e870c10f8bb6ae636af72e167833433bf423ae57 (patch) | |
| tree | 4e170d2b78d78579f4e05e8f9e8cca0d8fe39108 /include/linux/stacktrace.h | |
| parent | fb859f6fc43b30ce80e9428f79865b5fe8373418 (diff) | |
| download | linux-e870c10f8bb6ae636af72e167833433bf423ae57.tar.xz | |
ASoC: rsnd: Refactor DMA address tables with named structs
Replace the raw multi-dimensional array used for DMA address lookup in
rsnd_gen2_dma_addr() with properly named structs: rsnd_dma_addr (in/out
pair), rsnd_dma_addr_dir (capture/playback arrays), and
rsnd_dma_addr_map (src/ssi/ssiu module sets).
While at it, extract the common lookup logic (is_ssi / use_src / use_cmd
evaluation and table indexing) into a shared rsnd_dma_addr_lookup()
function.
No functional change. This is a preparatory refactor for upcoming RZ/G3E
support which will add its own DMA address map using the same struct and
lookup function.
Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/20260525110230.4014435-8-john.madieu.xa@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
