From 4206e1be3d713672a255a877b48793ecbae4d2e4 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Tue, 4 Mar 2014 11:29:40 -0700 Subject: [PATCH] staging: comedi: pcl818: introduce pcl818_ai_get_fifo_sample() To clarify the code, introduce a helper function to read the analog input data sample from the FIFO and optionally return the channel that the sample was for. The channel is used to check for dropped samples. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed