staging: comedi: amplc_pci230: add a missing unlock
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Jun 2012 06:52:58 +0000 (09:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jun 2012 23:58:58 +0000 (16:58 -0700)
commitf59f231e3db835353d8d1ff91062d89140dc8be3
tree8aa630d69e9d1d90b7e8d299264849dc0980f602
parent27494c092a81847fef515549b76251d96b760619
staging: comedi: amplc_pci230: add a missing unlock

This side of the if else statement returned with the lock held and IRQs
disabled.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pci230.c