From: H Hartley Sweeten Date: Thu, 18 Sep 2014 18:35:35 +0000 (-0700) Subject: staging: comedi: me4000: use comedi_handle_events() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~1146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fa1eb64d6d670676946ccd42d48452aecb96c2d;p=pandora-kernel.git staging: comedi: me4000: use comedi_handle_events() Use comedi_handle_events() to automatically (*cancel) the async command for an end-of-acquisition or if an error/overflow occurs. Also, comedi_handle_events() does nothing if no events are set so the check can be removed. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed