]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: comedi: ni_mio_common: implement new routing for TRIG_EXT
authorSpencer E. Olson <olsonse@umich.edu>
Wed, 3 Oct 2018 20:56:05 +0000 (14:56 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Oct 2018 13:36:04 +0000 (15:36 +0200)
commit56d0b826d39f5b04dc5df7e270539361627684de
tree08ca536feb8add4689d7ec6d8a819747feb1dc8d
parent4bb90c87abbe21ea469a242c8b350ea39a459c84
staging: comedi: ni_mio_common: implement new routing for TRIG_EXT

Use new signal routing capability for all comedi command *_src == TRIG_EXT
options.  This new interface allows the user specify signals and terminals
as TRIG_EXT sources using a very consistent naming convention. Furthermore,
the interface allows backwards compatibility to prior behavior of
specifying register-level (or near register-level) values as *_arg options
when *_src == TRIG_EXT.

Annotates and updates tables of register values to reflect this new
implementation status.

Signed-off-by: Spencer E. Olson <olsonse@umich.edu>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c