diff options
author | Chen-Yu Tsai <wenst@chromium.org> | 2025-05-15 15:38:21 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-15 09:44:42 +0200 |
commit | 91c2685430f217ae8f2866e4372948eaf123b5c4 (patch) | |
tree | 96da39a99420a8a2e8b03c4ce7710198550f1c25 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 51590571433e32cacce10b11051c6ff056bf0aa8 (diff) |
ASoC: mediatek: mt8183-afe-pcm: Shorten memif_data table using macros
The memif_data table describes all the supported PCM channels for the
audio frontend. Most of the fields are either the same or can be derived
from the interface's name. This results in a very long table (in source
code) that can be shortened with macros.
Do just that. Some "convenience" macros were added to cover non-existent
register fields that would otherwise require multiple layers of macros
to handle.
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20250515073825.4155297-2-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions