summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mediatek/clk-mt8188-apmixedsys.c
diff options
context:
space:
mode:
authorLey Foon Tan <leyfoon.tan@starfivetech.com>2024-11-07 07:36:35 +0100
committerJakub Kicinski <kuba@kernel.org>2024-11-12 01:45:23 +0100
commit3fccba8fdc1b69a2a5a6f3100c3eacf6125aca7e (patch)
tree45dfe4137c172a5df6c4089794a64fba76968470 /drivers/clk/mediatek/clk-mt8188-apmixedsys.c
parentnet: stmmac: dwmac4: Fix MTL_OP_MODE_RTC mask and shift macros (diff)
downloadlinux-3fccba8fdc1b69a2a5a6f3100c3eacf6125aca7e.tar.xz
linux-3fccba8fdc1b69a2a5a6f3100c3eacf6125aca7e.zip
net: stmmac: dwmac4: Fix the MTL_OP_MODE_*_MASK operation
In order to mask off the bits, we need to use the '~' operator to invert all the bits of _MASK and clear them. Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20241107063637.2122726-3-leyfoon.tan@starfivetech.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mt8188-apmixedsys.c')
0 files changed, 0 insertions, 0 deletions