Ian Abbott 3cd73bc1cf staging: comedi: ni_mio_common: always lock in ni_ai_poll()
`ni_ai_poll()` currently acquires (and later releases) the comedi
device's spin-lock iff `in_interrupt()` returns 0.  However, it is only
called during processing of a `COMEDI_POLL` ioctl so `in_interrupt()`
will always return 0 in this case.  Remove this test and acquire/release
the spin-lock unconditionally.  This eliminates a sparse warning about
different lock contexts for basic block.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-26 10:45:38 -07:00
..
2012-09-16 17:17:25 -07:00
2012-09-13 20:20:28 -07:00
2012-07-06 16:08:57 -07:00
2012-09-21 09:17:07 -07:00
2012-09-16 17:17:25 -07:00
2012-09-16 17:17:25 -07:00
2012-07-16 19:24:46 -07:00
2012-09-16 17:17:25 -07:00
2012-09-26 09:19:50 -07:00
2012-09-16 17:17:25 -07:00
2012-07-09 11:35:00 -07:00