Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 781f1f18 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: amplc_pci224: use comedi_handle_events()



cfc_handle_events() is just a wrapper around comedi_handle_events().

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c55e892b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -537,7 +537,7 @@ static void pci224_ao_handle_fifo(struct comedi_device *dev,
		    devpriv->ao_stop_count == 0) {
			/* FIFO empty at end of counted acquisition. */
			s->async->events |= COMEDI_CB_EOA;
			cfc_handle_events(dev, s);
			comedi_handle_events(dev, s);
			return;
		}
		break;
@@ -618,7 +618,7 @@ static void pci224_ao_handle_fifo(struct comedi_device *dev,
		outw(devpriv->daccon, dev->iobase + PCI224_DACCON);
	}

	cfc_handle_events(dev, s);
	comedi_handle_events(dev, s);
}

static int pci224_ao_inttrig_start(struct comedi_device *dev,