From: Ian Abbott Date: Thu, 14 Feb 2013 16:42:14 +0000 (+0000) Subject: staging: comedi: vmk80xx: simplify vmk80xx_reset_device() X-Git-Tag: v3.9-rc1~127^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f311a5b6b9163f6aeba2524eaab92dc3b0fb6f;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed