diff options
author | Ulf Hansson <[email protected]> | 2021-06-03 11:34:36 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2021-06-11 18:39:24 +0200 |
commit | d97fe100ee0b36c5dd8013ffd70fe8fcdcabff2b (patch) | |
tree | 76e151367dac89e324c223ce9cd94ebeb2138aa5 /scripts/gdb/linux/timerlist.py | |
parent | 0eef091d2dc447e10607f6dafa173c311ada972b (diff) |
PM: domains: Return early if perf state is already set for the device
When dev_pm_genpd_set_performance_state() gets called to set a new
performance state for the device, let's take a quicker path by doing an
early return, if it turns out that the new state is already set for the
device.
Suggested-by: Viresh Kumar <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions