]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: mediatek: mt8188-mmsys: Migrate to MMSYS_ROUTE() macro
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 12 Feb 2025 10:00:08 +0000 (11:00 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 6 Mar 2025 10:54:20 +0000 (11:54 +0100)
commit8a7b1efb2ae89ea09c406afed19fcb8d8c1aff9d
tree1a7ac11fb567e376cf22d0652c764a8e2ac64595
parent854ac9c8885e5f7977864b40d217254cb8c6d6fb
soc: mediatek: mt8188-mmsys: Migrate to MMSYS_ROUTE() macro

Change the initialization data in the arrays of structure
mtk_mmsys_routes to make use of the MMSYS_ROUTE() macro:
this will make sure that each array entry's SEL value fits
in its corresponding register mask with a compile time check.

Link: https://lore.kernel.org/r/20250212100012.33001-5-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
drivers/soc/mediatek/mt8188-mmsys.h