commit | b040b30d6fd98ae62be4cff7950551f0ac98ff53 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Thu Oct 10 13:50:06 2019 +0100 |
committer | Andrew Walbran <qwandor@google.com> | Thu Oct 10 13:50:06 2019 +0100 |
tree | 500a0fabfdfd2ab9d540468c2f9e1bbf3f46ffac | |
parent | cafe017d8863e5326c3f1c660ce71d5a82da7b19 [diff] |
Fix register usage of SPCI_ERROR. Bug: 141469322 Change-Id: Ic0e0de74e905ca02e42778d3e17cfb194758380b
diff --git a/main.c b/main.c index e3cf9af..758b965 100644 --- a/main.c +++ b/main.c
@@ -573,7 +573,7 @@ spin_unlock_irqrestore(&hf_send_lock, flags); if (ret.func == SPCI_ERROR_32) { - switch (ret.arg1) { + switch (ret.arg2) { case SPCI_INVALID_PARAMETERS: return -ENXIO; case SPCI_NOT_SUPPORTED: