Skip to content

Commit ed0dbf0

Browse files
authored
Handle RPC_PM_QOS command for backward compatibility (#284)
Some may send the RPC_PM_QOS control-domain command. The current driver does not support PM QoS operations, so return a false success to preserve compatibility and avoid triggering unexpected failures.
2 parents 0b7aad4 + db3e697 commit ed0dbf0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/fastrpc_apps_user.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2294,6 +2294,11 @@ int remote_handle_control_domain(int domain, remote_handle64 h, uint32_t req,
22942294
fastrpc_set_qos_latency(domain, h, FASTRPC_QOS_MAX_LATENCY_USEC);
22952295
break;
22962296
}
2297+
case RPC_PM_QOS: {
2298+
FARF(ALWAYS, "Warning: PM QoS is not supported; ignoring request and returning "
2299+
"success for backward compatibility");
2300+
break;
2301+
}
22972302
case RPC_ADAPTIVE_QOS: {
22982303
/* Enable adaptive QoS */
22992304
VERIFY(AEE_SUCCESS ==

0 commit comments

Comments
 (0)