atomic_freq_qos_remove_request() triggered a WARN() due to removal of an
inactive request. The condition was based on handle_pm_domain, but the request
was added only when handle_cpuidle_qos was true. Use the correct flag to avoid
calling remove without add.
Change-Id: I24c9e9a5e757abdda275aaa3a10bcb9d87d1c710
Signed-off-by: Yongtaek Jeon <ytjeon@samsung.com>
devm_regulator_put(pos->rgr[pos->rgr_count]);
}
- if (pos->handle_pm_domain) {
+ if (pos->handle_cpuidle_qos) {
atomic_freq_qos_remove_request(&pos->qos);
}