From: H Hartley Sweeten Date: Tue, 4 Mar 2014 18:30:03 +0000 (-0700) Subject: staging: comedi: pcl812: introduce pcl812_ai_clear_eoc() X-Git-Tag: v3.15-rc1~139^2~640 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=079dc9fe7770ea990c7f6f2094deb9bd8f172095;p=pandora-kernel.git staging: comedi: pcl812: introduce pcl812_ai_clear_eoc() Introduce a helper function to clear the end-of-conversion flag. This flag is set when an analog input conversion is finished and the hardware generates an interrupt request. Writing any value to the register resets the flag and re-enables the interrupt. Remove a redundant call in pcl812_ai_cancel(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed