diff options
| author | H Hartley Sweeten <[email protected]> | 2015-11-13 11:11:23 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-12-18 14:56:30 -0800 |
| commit | d0445303f86c6ace7dcaf6d2806445ea0208f151 (patch) | |
| tree | 23bdc66e17580f0acb87e51323fbd987fc182b90 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 0c917a93654557dc2489ebacbeadc3851186e3ce (diff) | |
staging: comedi: adv_pci1710: fix counter 0 internal clock source
There are a number of descrepencies in the various manuals for the boards
that this driver supports. Some show a 10 MHz clock for counters 1 and 2
others show a 1 MHz clock. Counter 0 can use either a div 10 of that clock
or an external clock (up to 10 MHz).
Currently this driver initializes counters 1 and 2 with a 10 MHz clock.
For consistency, return 1 MHz (10 MHz/10) for counter 0 when the user
queries the internal clock source with INSN_CONFIG_GET_CLOCK_SRC.
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions