From: H Hartley Sweeten Date: Tue, 4 Mar 2014 18:29:52 +0000 (-0700) Subject: staging: comedi: pcl816: consolidate the interrupt code X-Git-Tag: v3.15-rc1~139^2~651 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb98ec17ee55c1fea78a6513df697d7ab125e729;p=pandora-kernel.git staging: comedi: pcl816: consolidate the interrupt code This driver only supports interrupt driven DMA transfers for async command support. Absorb the interrupt_pcl816_ai_mode13_dma() helper into the interrupt handler to clarify the code. At some point during the interrupt, comedi_event() is called to pass any events to the comedi subsystem. Move this to the interrupt handler. Add a comedi_event() call to pcl816_ai_poll() due to the removal of the call from transfer_from_dma_buf(). For aesthetics, rename the interrupt function so it has namespace associated with the driver. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed