diff options
| author | H Hartley Sweeten <[email protected]> | 2012-11-13 13:47:09 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-11-13 15:12:55 -0800 |
| commit | 158b64973e7854cddefb1f56c3758ed8382f2bc8 (patch) | |
| tree | 7097165cb0e3ea170ce6629fd81a1a5a91831047 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 9151b01f3c5155d67d4dbd1c294694d57859dbec (diff) | |
staging: comedi: addi_apci_1516: fix i_APCI1516_ConfigWatchdog()
This function is used by the watchdog subdevice to enable/disable and
set the timeout for the watchdog. Rename the CamelCase function to
apci1516_wdog_insn_config.
Currently this function does not follow the comed API. Recode it so
it works like the core expects. data[0] is the configuration id code
(INSN_CONFIG_*) for the configuration instruction. Two instructions
are supported:
INSN_CONFIG_ARM: enables the watchdog and sets the timeout value
INSN_CONFIG_DISARM: disables the watchdog
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions