ni_labpc: Release spin-lock in labpc_ai_cmd returns an error.
authorIan Abbott <abbotti@mev.co.uk>
Wed, 6 Jun 2012 09:48:09 +0000 (10:48 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 6 Jun 2012 09:48:09 +0000 (10:48 +0100)
commit734675b473eec85220d1f4d6c324a315cab6193b
tree35cc655d1a3484b3c4ed38f1feca7886f2c8da98
parent63e521d0a280169b48d569ec96611aa5a4011f8c
ni_labpc: Release spin-lock in labpc_ai_cmd returns an error.

There are a couple of places in labpc_ai_cmd() that return without
releasing the spin-lock.  These places should not be reachable, but
release the spin-lock anyway.

Spotted by H Hartley Sweeten in the "staging" sources.

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