Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6fd0a6e authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: qcom: update RPMH to allow RPMH_AWAKE_STATE requests" into msm-4.8

parents bba2b6a9 9ed8f310
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -262,8 +262,8 @@ int __rpmh_write(struct rpmh_client *rc, enum rpmh_state state,

	rpm_msg->msg.state = state;

	/* Send to mailbox only if active */
	if (state == RPMH_ACTIVE_ONLY_STATE) {
	/* Send to mailbox only if active or awake */
	if (state == RPMH_ACTIVE_ONLY_STATE || state == RPMH_AWAKE_STATE) {
		ret = mbox_send_message(rc->chan, &rpm_msg->msg);
		if (ret > 0)
			ret = 0;