summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-10-18 08:16:57 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2023-10-19 20:41:35 +0900
commitd3b0f6ab0e3374820b7ab7f755a28e7a65ebf2b4 (patch)
treeae916051ca650cd85df35259abffb51d34a7b5e6 /include/soc
parent74002e668d0948d12eb2283891cfbd71be9d53c6 (diff)
PM / devfreq: rockchip-dfi: Clean up DDR type register defines
Use the HIWORD_UPDATE() define known from other rockchip drivers to make the defines look less odd to the readers who've seen other rockchip drivers. The HIWORD registers have their functional bits in the lower 16 bits whereas the upper 16 bits contain a mask. Only the functional bits that have the corresponding mask bit set are modified during a write. Although the register writes look different, the end result should be the same, at least there's no functional change intended with this patch. Link: https://lore.kernel.org/all/20231018061714.3553817-10-s.hauer@pengutronix.de/ Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions