We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0ed459 commit 4e0d8e4Copy full SHA for 4e0d8e4
1 file changed
drivers/soc/apple/rtkit.c
@@ -12,6 +12,7 @@ enum {
12
APPLE_RTKIT_PWR_STATE_IDLE = 0x201, /* sleeping, retain state */
13
APPLE_RTKIT_PWR_STATE_QUIESCED = 0x10, /* running but no communication */
14
APPLE_RTKIT_PWR_STATE_ON = 0x20, /* normal operating state */
15
+ APPLE_RTKIT_PWR_STATE_INIT = 0x220, /* init after starting the coproc */
16
};
17
18
enum {
@@ -975,7 +976,7 @@ int apple_rtkit_wake(struct apple_rtkit *rtk)
975
976
* Use open-coded apple_rtkit_set_iop_power_state since apple_rtkit_boot
977
* will wait for the completion anyway.
978
*/
- msg = FIELD_PREP(APPLE_RTKIT_MGMT_PWR_STATE, APPLE_RTKIT_PWR_STATE_ON);
979
+ msg = FIELD_PREP(APPLE_RTKIT_MGMT_PWR_STATE, APPLE_RTKIT_PWR_STATE_INIT);
980
ret = apple_rtkit_management_send(rtk, APPLE_RTKIT_MGMT_SET_IOP_PWR_STATE,
981
msg);
982
if (ret)
0 commit comments