asoc: msm-lsm-client: Fix inconsistent locking

This patch addresses the following locking error:

msm-lsm-client.c:337 lsm_event_handler() warn: inconsistent returns
'spin_lock:&prtd->event_lock'

Bug: 77543262
Test: build & boot
Change-Id: I6e492df8f90ba25ec17d548249b29b8ba1a87a29
Signed-off-by: David Lin <dtwlin@google.com>
diff --git a/techpack/audio/asoc/msm-lsm-client.c b/techpack/audio/asoc/msm-lsm-client.c
index 5f43e9e..e084a0a 100644
--- a/techpack/audio/asoc/msm-lsm-client.c
+++ b/techpack/audio/asoc/msm-lsm-client.c
@@ -327,6 +327,7 @@ static void lsm_event_handler(uint32_t opcode, uint32_t token,
 		if (!temp) {
 			dev_err(rtd->dev, "%s: no memory for event status\n",
 				__func__);
+			spin_unlock_irqrestore(&prtd->event_lock, flags);
 			return;
 		}
 		/*