usbduxsigma: unlock on error in usbdux_ao_inttrig()
authorIan Abbott <abbotti@mev.co.uk>
Wed, 30 Nov 2011 14:55:06 +0000 (14:55 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 30 Nov 2011 14:55:06 +0000 (14:55 +0000)
commit1d281ad856a6372aa4e2a3eb9fd3d18047bab1de
treefe7ef6423ebb45a05e96de55d8f161692a329892
parent8bc56cd803593969b02991be8a6d0be0841a0236
usbduxsigma: unlock on error in usbdux_ao_inttrig()

Follow patch by Dan Carpenter to the "staging" sources.

When trignum is invalid it returned without unlocking the mutex.
Fix it.
comedi/drivers/usbduxsigma.c