hexagon: guard HMX clock request for v75+ platforms (llama/22377)

This commit is contained in:
Trivikram Reddy 2026-04-25 19:58:26 -05:00 committed by Georgi Gerganov
parent da738a74f5
commit 1be2adf7b3
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,7 @@ AEEResult htp_iface_open(const char * uri, remote_handle64 * handle) {
}
}
#if __HVX_ARCH__ >= 75
{
// Set HMX clock
HAP_power_request_t request;
@ -118,6 +119,7 @@ AEEResult htp_iface_open(const char * uri, remote_handle64 * handle) {
return err;
}
}
#endif
return AEE_SUCCESS;
}