Commit 3860cbe2 authored by Colin Ian King's avatar Colin Ian King Committed by Rafael J. Wysocki
Browse files

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: bca84a7b ("PM: sleep: Use DPM_FLAG_SMART_SUSPEND conditionally")
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Link: https://patch.msgid.link/20250319114324.791829-1-colin.i.king@gmail.com


Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 03f14440
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment