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

Commit 5343d1f9 authored by Maulik Shah's avatar Maulik Shah
Browse files

drivers: soc: qcom: rpmh: Correctly set is_complete



Messages for wake set needs to have is_complete to true.
Setting is_complete to false is overriding previous
configuration for wake sets. Fix this.

Change-Id: I6dc7dc7beddc3d926b274cf8e66a2e5917ac6063
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 11a18c0d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -884,7 +884,6 @@ int send_single(struct rpmh_client *rc, enum rpmh_state state, u32 addr,
	rpm_msg.cmd[0].addr = addr;
	rpm_msg.cmd[0].data = data;
	rpm_msg.msg.num_payload = 1;
	rpm_msg.msg.is_complete = false;

	return mbox_write_controller_data(rc->chan, &rpm_msg.msg);
}