soc: spacemit: pm_domain: Fix qos remove flag mismatch 60/322760/2 old/tizen_20250514 accepted/tizen/unified/20250428.091728 accepted/tizen/unified/x/20250429.081835
authorYongtaek Jeon <ytjeon@samsung.com>
Tue, 15 Apr 2025 10:04:35 +0000 (19:04 +0900)
committerYongtaek Jeon <ytjeon@samsung.com>
Wed, 16 Apr 2025 00:10:50 +0000 (09:10 +0900)
commita9b54a6dc419a051538ef8ef7073b74e8a8a2433
treef6409ed48a7b7e21d9d5286920609ad853a5c565
parent8c580c79f9d4251555ba0fb0089ca222585e2a23
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