From: H Hartley Sweeten Date: Tue, 4 Mar 2014 18:30:20 +0000 (-0700) Subject: staging: comedi: pcl818: define the mode register bits X-Git-Tag: v3.15-rc1~139^2~623 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5af366ffad65425b6b89b76c2c26e0100af07d1d;p=pandora-kernel.git staging: comedi: pcl818: define the mode register bits Define the bits in the register to remove the magic values. Tidy up pcl818_ai_cancel(). The 0x73 mask of the value read from the control register will disable dma and interrupts but it does not change the trigger mode. So the software trigger following it might not work. Just disable the trigger and clear any pending end-of-conversion. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed