We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339d10d commit 749d90fCopy full SHA for 749d90f
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 {
@@ -963,7 +964,7 @@ int apple_rtkit_wake(struct apple_rtkit *rtk)
963
964
* Use open-coded apple_rtkit_set_iop_power_state since apple_rtkit_boot
965
* will wait for the completion anyway.
966
*/
- msg = FIELD_PREP(APPLE_RTKIT_MGMT_PWR_STATE, APPLE_RTKIT_PWR_STATE_ON);
967
+ msg = FIELD_PREP(APPLE_RTKIT_MGMT_PWR_STATE, APPLE_RTKIT_PWR_STATE_INIT);
968
ret = apple_rtkit_management_send(rtk, APPLE_RTKIT_MGMT_SET_IOP_PWR_STATE,
969
msg);
970
if (ret)
0 commit comments