aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2021-06-03 09:34:36 +0000
committerRafael J. Wysocki <[email protected]>2021-06-11 16:39:24 +0000
commitd97fe100ee0b36c5dd8013ffd70fe8fcdcabff2b (patch)
tree76e151367dac89e324c223ce9cd94ebeb2138aa5 /lib/dump_stack.c
parentPM: domains: Split code in dev_pm_genpd_set_performance_state() (diff)
downloadkernel-d97fe100ee0b36c5dd8013ffd70fe8fcdcabff2b.tar.gz
kernel-d97fe100ee0b36c5dd8013ffd70fe8fcdcabff2b.zip
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 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions