aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2012-11-13 13:47:27 -0700
committerGreg Kroah-Hartman <[email protected]>2012-11-13 15:12:55 -0800
commit0ff1fa77687052ff36aa141317c45f737057ce5d (patch)
tree63f4c8f86e1b5d4da1aca458a81cb7b016e6226c /tools/perf/scripts/python
parent158b64973e7854cddefb1f56c3758ed8382f2bc8 (diff)
staging: comedi: addi_apci_1516: fix i_APCI1516_StartStopWriteWatchdog()
This function is used by the watchdog subdevice to "ping" the watchdog. Rename the CamelCase function to apci1516_wdog_insn_write. Currently this function does not follow the comed API. INSN_WRITE functions are supposed to write insn->n values. Also, starting and stopping the watchdog is handled by the INSN_CONFIG function. Fix this function so it works like the comedi core expects. Also, since the watchdog needs to be enabled in order to "ping" it, make sure it is enabled before writing to it. 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')
0 files changed, 0 insertions, 0 deletions