usbdux: unlock on error in usbdux_ao_inttrig()
authorIan Abbott <abbotti@mev.co.uk>
Wed, 30 Nov 2011 14:59:33 +0000 (14:59 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 30 Nov 2011 14:59:33 +0000 (14:59 +0000)
commite98a40ed472e4476ab10053db59c54aedb5951f2
treeba62ef93f9a0f8921d47795ed80bb83cefd819b1
parent1d281ad856a6372aa4e2a3eb9fd3d18047bab1de
usbdux: 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/usbdux.c