]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: mediatek: mt8183-afe-pcm: Shorten irq_data table using macros
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 15 May 2025 07:38:22 +0000 (15:38 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 15 May 2025 07:44:43 +0000 (09:44 +0200)
commit0be889823f93429dab396cb7ac061d02046bd962
tree2898053f52adf2b2abdafb0cb7068fe4167dac3b
parent91c2685430f217ae8f2866e4372948eaf123b5c4
ASoC: mediatek: mt8183-afe-pcm: Shorten irq_data table using macros

The irq_data table describes all the supported interrupts for the audio
frontend. The parameters are either the same or can be derived from the
interrupt number. This results in a very long table (in source code)
that can be shortened with macros.

Do just that.

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-3-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8183/mt8183-afe-pcm.c