Skip to content
Commit 46fd8c70 authored by wangfushuai's avatar wangfushuai Committed by Shuah Khan
Browse files

cpupower: revise is_valid flag handling for idle_monitor



The is_valid flag should reflect the validity state of both
the XXX_start and XXX_stop functions. But the use of '=' in
XXX_stop overwrites the validity state set by XXX_start. This
commit changes '=' to '|=' in XXX_stop to preserve and combine
the validity state of XXX_start and XXX_stop.

Signed-off-by: default avatarwangfushuai <wangfushuai@baidu.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 3075476a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment