diff options
author | Sascha Hauer <[email protected]> | 2023-10-18 08:16:57 +0200 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2023-10-19 20:41:35 +0900 |
commit | d3b0f6ab0e3374820b7ab7f755a28e7a65ebf2b4 (patch) | |
tree | ae916051ca650cd85df35259abffb51d34a7b5e6 /tools/perf/util/trace-event-scripting.c | |
parent | 74002e668d0948d12eb2283891cfbd71be9d53c6 (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/[email protected]/
Signed-off-by: Sascha Hauer <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Acked-by: Chanwoo Choi <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions