soc: spacemit: pm_domain: Fix qos remove flag mismatch tizen-next accepted/tizen/unified/20250514.114144 accepted/tizen/unified/x/20250515.044704
authorYongtaek Jeon <ytjeon@samsung.com>
Tue, 15 Apr 2025 10:04:35 +0000 (19:04 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 29 Apr 2025 03:38:33 +0000 (12:38 +0900)
commit59fee3b35b331c1bcfa3522af1c5884ff05a1546
tree2e16b4c17a228740f0813295068f953a01e2e528
parent502c3528ca2189a8b3670ca0a9f601c71452a096
soc: spacemit: pm_domain: Fix qos remove flag mismatch

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>
drivers/soc/spacemit/pm_domain/k1x-pm_domain.c