From: H Hartley Sweeten Date: Mon, 23 Feb 2015 21:57:30 +0000 (-0700) Subject: staging: comedi: pcl812: convert driver to use the comedi_8254 module X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~749 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb5678aff3d469d41d7d7d85e5a12c56b0e1aa94;p=pandora-kernel.git staging: comedi: pcl812: convert driver to use the comedi_8254 module This driver uses an 8254 timer to generate the pacer clock used for analog input data acquisition. Convert it to use the comedi_8254 module to provide support for the 8254 timer. Note that the pacer does not have to be stopped when starting a new async command in pcl812_ai_cmd() or when the card is initialy reset by pcl812_reset(). The counters are all reset when the driver is initially attached and the counters used by the pacer are stopped when a command is canceled. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed