diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2013-02-14 16:42:14 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-15 10:17:55 -0800 |
commit | e8f311a5b6b9163f6aeba2524eaab92dc3b0fb6f (patch) | |
tree | 48728554395e4184c9eb50e18987bc9397e67a02 /scripts/gdb/vmlinux-gdb.py | |
parent | 0cbfc8269b980adafa7b529bb529a2fc316c5405 (diff) |
staging: comedi: vmk80xx: simplify vmk80xx_reset_device()
vmk80xx_reset_device() is called during initialization of a Velleman
K8055 (aka VM110) to send a reset command to the hardware. The current
function is a bit long-winded and doesn't set the TRANS_OUT_BUSY flag to
prevent re-use of the transmit buffer while the URB is in progress.
Rewrite the function to use vmk80xx_write_packet() to send the command.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions