clk: stm32: Wrong macros used in register read
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Thu, 24 Jul 2025 11:37:38 +0000 (12:37 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 29 Jul 2025 15:02:31 +0000 (17:02 +0200)
commit8693fe92ace46ab537e275899e55924ca82feaae
tree6111bd925155ba979c80fbb8a1d19bba7e56ca42
parent52b7ad7bec06bf841a894ad26c930cf816f4004d
clk: stm32: Wrong macros used in register read

Smatch reported a warning about a shift macro being used as a mask. Make
the obvious changes to make this register read calculation work the same
as the previous ones.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/clk/stm32/clk-stm32h7.c