commit | d6610a502738e23aab5418e82c024be201e13f02 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Nov 30 11:42:21 2011 +0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Dec 08 12:29:39 2011 -0800 |
tree | 7943e774152cce493b4514cc7697a56ec108b1de | |
parent | 2d2c880f8c16f4047cb642a5843ca6fa56f0d2a6 [diff] |
Staging: comedi: unlock on error in usbdux_ao_inttrig() 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>