diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-10-06 00:23:11 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-13 07:16:05 +0300 |
| commit | 62319bceef42015d5e774e1db2e21fb5853a01bc (patch) | |
| tree | 8d19f62a3ad9f0f541119c95b5fd63e017de255a /include/linux/vmalloc.h | |
| parent | 0d77ef8b43d6a9124f37b2f098b6d65573db0de3 (diff) | |
| download | linux-62319bceef42015d5e774e1db2e21fb5853a01bc.tar.xz | |
staging: comedi: quatech_daqp_cs: avoid calculating pacer divisor multiple times
The pacer will either be used to trigger each conversion or to start each
scan. Modify the (*do_cmdtest) so that one one divisor calculation is needed.
Save the divisor value in the private data so that the (*do_cmd) does not
have to do the calculation again.
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 'include/linux/vmalloc.h')
0 files changed, 0 insertions, 0 deletions
