soc: mediatek: Cleanup ifdefs for IS_REACHABLE(CONFIG_MTK_CMDQ)
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 22 Feb 2023 09:42:53 +0000 (10:42 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Sun, 2 Apr 2023 16:52:03 +0000 (18:52 +0200)
commitb34884b4c878a6ad2a4f70d7c88ef60ac39ad408
tree73a36fc569d8cfa0a23a4d848b1fdd0619c11f7d
parenteb0d8623b9b805cbcab87620a363292552c19359
soc: mediatek: Cleanup ifdefs for IS_REACHABLE(CONFIG_MTK_CMDQ)

Now that the mtk-cmdq.h header contains inline functions for cases
in which the driver is not enabled (either module or built-in), we
can safely go on with cleaning up ifdefs for CMDQ handling.

This also shows in a clearer manner that writing through CMDQ HW is
optional and used only for performance purposes when/where wanted,
needed and/or required.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20230222094253.23678-10-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-mmsys.c
drivers/soc/mediatek/mtk-mutex.c