diff options
author | Jason-JH.Lin <jason-jh.lin@mediatek.com> | 2022-04-25 05:45:37 +0200 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2022-04-25 12:46:13 +0200 |
commit | 537f8ffbdf4b9e47e2e21eb8548cdf9cc254c936 (patch) | |
tree | 147b2a0b2af8e4a7d9bbb96b2392d9b26dda0038 /drivers/soc/mediatek | |
parent | dt-bindings: pwrap: mediatek: Update pwrap document for mt8195 (diff) | |
download | linux-537f8ffbdf4b9e47e2e21eb8548cdf9cc254c936.tar.xz linux-537f8ffbdf4b9e47e2e21eb8548cdf9cc254c936.zip |
soc: mediatek: mutex: remove mt8195 MOD0 and SOF0 definition
Using mt8183 MDO0 and SOF0 definition instead of creating new one for
mt8195.
Fixes: 8fdb61f1933a ("soc: mediatek: add mtk-mutex support for mt8195 vdosys0")
Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
Link: https://lore.kernel.org/r/20220425034537.28989-1-jason-jh.lin@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/mediatek')
-rw-r--r-- | drivers/soc/mediatek/mtk-mutex.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/soc/mediatek/mtk-mutex.c b/drivers/soc/mediatek/mtk-mutex.c index 9184684baf1d..981d56967e7a 100644 --- a/drivers/soc/mediatek/mtk-mutex.c +++ b/drivers/soc/mediatek/mtk-mutex.c @@ -17,9 +17,6 @@ #define MT8183_MUTEX0_MOD0 0x30 #define MT8183_MUTEX0_SOF0 0x2c -#define MT8195_DISP_MUTEX0_MOD0 0x30 -#define MT8195_DISP_MUTEX0_SOF 0x2c - #define DISP_REG_MUTEX_EN(n) (0x20 + 0x20 * (n)) #define DISP_REG_MUTEX(n) (0x24 + 0x20 * (n)) #define DISP_REG_MUTEX_RST(n) (0x28 + 0x20 * (n)) @@ -422,8 +419,8 @@ static const struct mtk_mutex_data mt8192_mutex_driver_data = { static const struct mtk_mutex_data mt8195_mutex_driver_data = { .mutex_mod = mt8195_mutex_mod, .mutex_sof = mt8195_mutex_sof, - .mutex_mod_reg = MT8195_DISP_MUTEX0_MOD0, - .mutex_sof_reg = MT8195_DISP_MUTEX0_SOF, + .mutex_mod_reg = MT8183_MUTEX0_MOD0, + .mutex_sof_reg = MT8183_MUTEX0_SOF0, }; struct mtk_mutex *mtk_mutex_get(struct device *dev) |