-
- Downloads
staging: comedi: mite: introduce mite_ack_linkc()
Introduce a helper function to handle the ack of a LINKC interrupt. Tidy up the drivers that use the new helper. The extra check for CHSR_INT in the ni_pcidio driver is not necessary. This bit will be set if any of the interrupt sources, including CHSR_LINKC, have generated an interrupt. Remove the extra check. The mite_get_status() function is now only used by the mite driver. Make it static and remove the export. 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>
Showing
- drivers/staging/comedi/drivers/mite.c 15 additions, 2 deletionsdrivers/staging/comedi/drivers/mite.c
- drivers/staging/comedi/drivers/mite.h 1 addition, 1 deletiondrivers/staging/comedi/drivers/mite.h
- drivers/staging/comedi/drivers/ni_mio_common.c 5 additions, 23 deletionsdrivers/staging/comedi/drivers/ni_mio_common.c
- drivers/staging/comedi/drivers/ni_pcidio.c 2 additions, 8 deletionsdrivers/staging/comedi/drivers/ni_pcidio.c
- drivers/staging/comedi/drivers/ni_tiocmd.c 3 additions, 10 deletionsdrivers/staging/comedi/drivers/ni_tiocmd.c
Loading
Please register or sign in to comment