Fix register usage of SPCI_ERROR.
Bug: 141469322
Change-Id: I99557a990db05a72d6eec052abcd8e1508196460
diff --git a/inc/hf/spci_internal.h b/inc/hf/spci_internal.h
index e046233..c7c0d2e 100644
--- a/inc/hf/spci_internal.h
+++ b/inc/hf/spci_internal.h
@@ -65,7 +65,7 @@
static inline struct spci_value spci_error(uint64_t error_code)
{
- return (struct spci_value){.func = SPCI_ERROR_32, .arg1 = error_code};
+ return (struct spci_value){.func = SPCI_ERROR_32, .arg2 = error_code};
}
struct spci_value spci_msg_handle_architected_message(