From 7fd2dae2500dee7da9a16557ace9506fb8aefd12 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Tue, 20 Jan 2015 14:53:22 -0700 Subject: [PATCH] staging: comedi: adv_pci1710: introduce pci171x_ai_read_sample() Introduce a helper function to read an analog input sample, check for channel dropout, and mask the sample to the maxdata of the subdevice. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed