IB/ehca: Fix mismatched spin_unlock in irq handler

The lock is taken with _irqsave and hence must be released with
_irqrestore on all paths.

Signed-off-by Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

authored by Hoang-Nam Nguyen and committed by Roland Dreier cea9ea67 ce29d72c

+2 -1
+2 -1
drivers/infiniband/hw/ehca/ehca_irq.c
··· 440 440 cq = idr_find(&ehca_cq_idr, token); 441 441 442 442 if (cq == NULL) { 443 - spin_unlock(&ehca_cq_idr_lock); 443 + spin_unlock_irqrestore(&ehca_cq_idr_lock, 444 + flags); 444 445 break; 445 446 } 446 447