]> git.baikalelectronics.ru Git - kernel.git/commit
USB: usbtmc: correct termination condition for reads.
authorSteve Holland <sdh4@iastate.edu>
Thu, 18 Jun 2009 22:37:49 +0000 (17:37 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:35 +0000 (06:46 -0700)
commit2f4558c8c76e33932b7b817bd3525d4694363485
tree38f372250370761786701b5c93fa8a41699a43c1
parent8924002121c50c986762495594e7c33f15a62e31
USB: usbtmc: correct termination condition for reads.

Follow T&M convention of obeying EOM flag.  Avoid exception cases where
instrument response size matches a buffer size.

Signed-off-by: Steve Holland <sdh4@iastate.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/usbtmc.c