diff options
author | Mark Brown <broonie@kernel.org> | 2025-05-15 14:08:51 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-15 14:08:51 +0200 |
commit | a9fa13105b2ee9291c4fbbc7259fdec41dd42990 (patch) | |
tree | fcd0a04f6fd7beb5712386917beea1b713f4832b /scripts/lib/kdoc/kdoc_output.py | |
parent | 4a5883a5861589d486f768df2630f79c1d1e0c45 (diff) | |
parent | 29552dcc044a233be84ab9b64539fdc7d8f4314e (diff) |
ASoC: mediatek: mt8183-afe-pcm: Shorten source code
Merge series from Chen-Yu Tsai <wenst@chromium.org>:
This series is meant as an example on how to use macros and range cases
to shorten the MediaTek audio frontend drivers. The drivers have large
tables describing the registers and register fields for every supported
audio DMA interface. (Some are actually skipped!) There's a lot of
duplication which can be eliminated using macros. This should serve as
a reference for the MT8196 AFE driver that I had commented on.
The three patches tackle separate tables in the driver. The remaining
one that could be tackled is the list of DAIs; but that one has more
differences between each entry, so I haven't done it yet.
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions