]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adl_pci9118: do cfc_handle_events() at end of interrupt
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 9 Sep 2014 20:05:33 +0000 (13:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:34:24 +0000 (14:34 -0700)
commita06e7e2f4a55c1c8e48a82e87ad490bf6d286a5f
treeb1207b58e9fd1f65691bddbdfc74ecc557f32806
parent56184bc4e644b1e9dfc2b1a0bcbb3db740ca5cde
staging: comedi: adl_pci9118: do cfc_handle_events() at end of interrupt

Each of the error detections currently do a cfc_handle_events() and exits
the interrupt handler if the error is detected. The DMA and non-DMA handlers
also to a cfc_handle_events().

For aesthetics, use goto to exit the interrupt handler if an error is detected
and move the cfc_handle_events() call to the end of the interrupt.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9118.c