Staging: comedi: unlock on error in usbdux_ao_inttrig()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 30 Nov 2011 08:42:21 +0000 (11:42 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 20:29:39 +0000 (12:29 -0800)
If we had an invalid trignum (anything other than zero is invalid) then
we returned without unlocking.  I've modified this function to just have
one return point.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found