diff options
| author | H Hartley Sweeten <[email protected]> | 2014-11-04 10:54:02 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-11-07 09:33:58 -0800 |
| commit | 4ffa00a3cb634a363ee72339cb740ffdee389f66 (patch) | |
| tree | ad9deef4063e119265cf0a0c6c3ac511ec4b57e7 /tools | |
| parent | a6a1cfed89b5aca6e5ba179b3788d639ebe0c624 (diff) | |
staging: comedi: addi_apci_3120: introduce apci3120_timer_enable()
Introduce a helper function to enable/disable a timer.
The disable of timers 0 and 1 in apci3120_interrupt() is probably not needed.
For now use the helper function to make sure the devpriv->ctrl bits are cleared
correctly to disable the timers.
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')
0 files changed, 0 insertions, 0 deletions