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)
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