Skip to content
Commit abceaa9c authored by Xunlei Pang's avatar Xunlei Pang Committed by Rafael J. Wysocki
Browse files

cpuidle/coupled: Add sanity check for safe_state_index



Since we are using cpuidle_driver::safe_state_index directly as the
target state index, it is better to add the sanity check at the point
of registering the driver.

Signed-off-by: default avatarXunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 4c1ed5a6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment