diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-02-23 14:57:38 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-01 18:51:50 -0800 |
commit | eb9bb1f5a84a1fcbfa213687d2d4bd4843e3be9f (patch) | |
tree | 59faa9ea2e311b4d4deeafacc4d39b30c41a84cb /drivers/staging/comedi/Kconfig | |
parent | e4690dec50ebb886b33a62858d13266ee020e035 (diff) | |
download | op-kernel-dev-eb9bb1f5a84a1fcbfa213687d2d4bd4843e3be9f.zip op-kernel-dev-eb9bb1f5a84a1fcbfa213687d2d4bd4843e3be9f.tar.gz |
staging: comedi: das16m1: convert driver to use the comedi_8254 module
This driver uses two 8254 timers. One to generate the analog input pacer clock and
one to count the number of samples. Convert it to use the comedi_8254 module to
provide support for the 8254 timers.
Use the comedi_device 'pacer' member for the 8254 timer used for analog input. This
data is freed automatically by the core during the detach of the driver.
Store the data for the 8254 timer used to count samples in the private data. This
data needs to be freed by the driver when it is detached.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/Kconfig')
-rw-r--r-- | drivers/staging/comedi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig index 8de03c8..9b7a0d7 100644 --- a/drivers/staging/comedi/Kconfig +++ b/drivers/staging/comedi/Kconfig @@ -263,6 +263,7 @@ config COMEDI_DAC02 config COMEDI_DAS16M1 tristate "MeasurementComputing CIO-DAS16/M1DAS-16 ISA card support" + select COMEDI_8254 select COMEDI_8255 ---help--- Enable support for Measurement Computing CIO-DAS16/M1 ISA cards. |