amplc_pci230: Fix dangling spin-lock
authorIan Abbott <abbotti@mev.co.uk>
Fri, 8 Jun 2012 09:26:06 +0000 (10:26 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Fri, 8 Jun 2012 09:26:06 +0000 (10:26 +0100)
commit8f7fcdd5126316566126a9d5b7c0eabaae30df67
tree20955badf8a66fe887b3ec9243abdb6fb71363b4
parent0bd638c43e03d94569f606a4755b68a4bc648ab0
amplc_pci230: Fix dangling spin-lock

pci230_ao_inttrig_scan_begin() could return without releasing a
spin-lock.  Fix it.

Spotted by Dan Carpenter in the "staging" sources.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/drivers/amplc_pci230.c