net: stmmac: dwmac4: Fix MTL_OP_MODE_RTC mask and shift macros
authorLey Foon Tan <leyfoon.tan@starfivetech.com>
Thu, 7 Nov 2024 06:36:34 +0000 (14:36 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 00:45:23 +0000 (16:45 -0800)
commit6d4a34fe429f64048f4a273a0b6b001c16613d8c
treebab7308127ed3c75af75298dfe88c705b1fe72a8
parentbc3d60bd4c91c338d44ad7d8a7389e3663e3ecb5
net: stmmac: dwmac4: Fix MTL_OP_MODE_RTC mask and shift macros

RTC fields are located in bits [1:0]. Correct the _MASK and _SHIFT
macros to use the appropriate mask and shift.

Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241107063637.2122726-2-leyfoon.tan@starfivetech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac4.h