xive: fix missing unlock in error path

Found with sparse and some added lock annotations.

CC: stable # 5.10+
Fixes: de82c2e0e
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
(cherry picked from commit 693a204364b0c6d00ae6daa1721fd5c03a4de74e)
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
diff --git a/hw/xive.c b/hw/xive.c
index a405134..8ec2ab4 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -4402,6 +4402,7 @@
 				xive_dbg(x, "Attempt at enabling single escalate"
 					 " on xive rev %d failed\n",
 					 x->rev);
+				unlock(&x->lock);
 				return OPAL_PARAMETER;
 			}
 			rc = xive_setup_silent_gather(vp_id, true);