diff options
| author | H Hartley Sweeten <[email protected]> | 2015-08-07 11:45:12 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-08-14 18:34:57 -0700 |
| commit | 1f5d767fab593659cbebc91197c3f182f6e0d84a (patch) | |
| tree | 33373e67b5694589bb881e7321b5531d9257cb24 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 835f8fe9527b826d23b223fb5347ee2c3e670cee (diff) | |
staging: comedi: hwdrv_apci1564: fix counter "mode" setting
According to the (broken) original driver, data[4] passed to this function
is the "timer mode". It appears the original code used the wrong shift to
set the bits.
Use the ADDI_TCW_CTRL_MODE() macro so that the correct bits get set.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions