diff options
author | Sascha Hauer <[email protected]> | 2023-10-18 08:16:59 +0200 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2023-10-19 20:46:17 +0900 |
commit | 038ff6f53da07971a9df636bcc9bf1344c468dd5 (patch) | |
tree | 84f7d29ca167691e3cfd0f61ead87194afae8da7 /tools/perf/util/trace-event-scripting.c | |
parent | 076b0597f5b6fbec47cddedf9b39d864938a365c (diff) |
PM / devfreq: rockchip-dfi: Handle LPDDR2 correctly
According to the downstream driver the DDRMON_CTRL_LPDDR23 bit must be
set for both LPDDR2 and LPDDR3. Add the missing LPDDR2 case and while
at it turn the if/else if/else into switch/case which makes it easier
to read.
Link: https://lore.kernel.org/all/[email protected]/
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Acked-by: Chanwoo Choi <[email protected]>
Signed-off-by: Sascha Hauer <[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