1
0
Files
linux/drivers
H Hartley Sweeten 65dbae525f staging: comedi: ni_tiocmd: tidy up ni_tio_configure_dma()
The 'enable' and 'read_not_write' parameters are true/false flags. For
aesthetics, change their types to bool.

Rename the local variable 'input_select_bits' to simply 'bits' and reuse
it when enabling the dma on the m series and 660x counter variants.

Add a local variable for the 'mask' that is passed to ni_tio_set_bits()
to help clarify the code.

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>
2014-07-30 16:51:00 -07:00
..
2014-07-10 21:04:25 +02:00
2014-07-09 16:45:36 -07:00
2014-05-27 17:38:11 -07:00
2014-06-26 13:34:15 +01:00
2014-06-17 15:43:48 -07:00
2014-05-26 21:27:09 +02:00
2014-06-26 10:48:23 +01:00
2014-07-11 17:43:13 -07:00
2014-07-23 19:01:36 -07:00
2014-06-23 09:22:48 +03:00
2014-07-01 13:18:38 +03:00