diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2025-03-19 14:43:24 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-03-22 16:55:08 +0300 |
commit | 3860cbe239639503e56bd4365c6bf4cb957ef04e (patch) | |
tree | 1f8895a59bbc2aa350a0a2e3de792b94df25d065 /tools/perf/scripts/python/libxed.py | |
parent | 03f1444016b71feffa1dfb8a51f15ba592f94b13 (diff) | |
download | linux-3860cbe239639503e56bd4365c6bf4cb957ef04e.tar.xz |
PM: sleep: Fix bit masking operation
The mask operation link->flags | DL_FLAG_PM_RUNTIME is always true which
is incorrect. The mask operation should be using the bit-wise &
operator. Fix this.
Fixes: bca84a7b93fd ("PM: sleep: Use DPM_FLAG_SMART_SUSPEND conditionally")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://patch.msgid.link/20250319114324.791829-1-colin.i.king@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions