From: H Hartley Sweeten Date: Wed, 5 Jun 2013 22:38:14 +0000 (-0700) Subject: staging: comedi: pcmad: properly handle single/diff input configuration X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~241 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6092e9428de76606d4fd337422322aee857a3e1a;p=pandora-kernel.git staging: comedi: pcmad: properly handle single/diff input configuration The comedi_config utility is used to attach to this board. One of the configuration options passed by the user sets the analog input reference for single-ended or differential inputs. Use the configuration option to correctly set the comedi_subdevice flags as well as the number of channels. Remove the 'differential' variable from the private data. Its not used by the driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed