diff options
| author | Chen-Yu Tsai <[email protected]> | 2025-05-15 07:38:21 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-05-15 07:44:42 +0000 |
| commit | 91c2685430f217ae8f2866e4372948eaf123b5c4 (patch) | |
| tree | 96da39a99420a8a2e8b03c4ce7710198550f1c25 /rust/helpers/task.c | |
| parent | ASoC: amd: use new ACP dev names for DAI links (diff) | |
| download | kernel-91c2685430f217ae8f2866e4372948eaf123b5c4.tar.gz kernel-91c2685430f217ae8f2866e4372948eaf123b5c4.zip | |
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 <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
