diff options
| author | 2015-10-05 14:23:11 -0700 | |
|---|---|---|
| committer | 2015-10-12 21:16:05 -0700 | |
| commit | 62319bceef42015d5e774e1db2e21fb5853a01bc (patch) | |
| tree | 8d19f62a3ad9f0f541119c95b5fd63e017de255a /scripts/cleanpatch | |
| parent | staging: comedi: quatech_daqp_cs: ai async command requires a pacer (diff) | |
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 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
