diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2020-04-30 02:35:54 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-04-30 02:35:53 -0700 |
| commit | efb32cebe615aa76c945e106ebe3b92f1ef802ca (patch) | |
| tree | d2a670e605d5db078e16d3fd2adfafa92e434505 | |
| parent | 26212fd4d81d11bcd667fda33a155090c688ce63 (diff) | |
| parent | b790ab7e1e81b5ccb8e3889aaa097933778b635b (diff) | |
Merge "sysmon-qmi: Fix compilation error while using LLVM"
| -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 1063b96d8d83..e3b947390856 100644 --- a/drivers/soc/qcom/sysmon-qmi.c +++ b/drivers/soc/qcom/sysmon-qmi.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2015, 2017, The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2015, 2017, 2020, 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 (!&data->ind_recv.done) { + if (!completion_done(&data->ind_recv)) { pr_err("QMI shutdown indication not received\n"); ret = shutdown_ack_ret; } |
