diff options
| author | Michael Bestas <mkbestas@lineageos.org> | 2020-06-03 21:13:25 +0300 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-06-03 21:13:33 +0300 |
| commit | 0bf35cdaba6345df423783f9cbeb99d241cd51d1 (patch) | |
| tree | edb8b952d3865aee1ed8d5b83f53c76706fceab3 | |
| parent | 59eb49a8c4bf1480553ea720d297b5650590ea1e (diff) | |
Revert "sysmon-qmi: Fix compilation error while using LLVM"
* We'll take the upstream fix
This reverts commit 722c2dfad791dfca2b0517b32930be75b69a6581.
Change-Id: I761a1c765b85c91bf1d01873f2773c288dd346cf
| -rw-r--r-- | drivers/soc/qcom/sysmon-qmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/qcom/sysmon-qmi.c b/drivers/soc/qcom/sysmon-qmi.c index aaeac1756e7a..1063b96d8d83 100644 --- a/drivers/soc/qcom/sysmon-qmi.c +++ b/drivers/soc/qcom/sysmon-qmi.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2015, 2017, 2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2015, 2017, 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 @@ -474,7 +474,7 @@ int sysmon_send_shutdown(struct subsys_desc *dest_desc) shutdown_ack_ret = wait_for_shutdown_ack(dest_desc); if (shutdown_ack_ret < 0) { pr_err("shutdown_ack SMP2P bit for %s not set\n", data->name); - if (!completion_done(&data->ind_recv)) { + if (!&data->ind_recv.done) { pr_err("QMI shutdown indication not received\n"); ret = shutdown_ack_ret; } |
