summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-06-05 11:12:18 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-11 16:54:29 -0700
commit513e48f90a9d092ffcf8301b6ed10a8d8a5ebe77 (patch)
treedfbd43b0061da340f45385c0766197a68b18901a /include
parent72fd9facfb697d5f7b61958bb10efaabbd8461eb (diff)
staging: comedi: ni_labpc: unlock spinlock on command error
When starting the acquisition the labpc_ai_cmd function was exiting without unlocking the spinlock. This results in a sparse warning: warning: context imbalance in 'labpc_ai_cmd' - different lock contexts for basic block Add the missing spin_unlock_irqrestore calls. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions