USB: usbtmc: TMC request code segregated from usbtmc_read
authorAlexandre Peixoto Ferreira <alexandref75@gmail.com>
Tue, 30 Apr 2013 05:51:51 +0000 (00:51 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2013 00:50:50 +0000 (17:50 -0700)
commit88d9b2b38c99d7d7f5eb557a56b6aaeaa392df86
tree746e33f9d4f26ed73bc76ba42a836a238faa5ba3
parent8402db5dda3ac167014c143a633efff340aaff5b
USB: usbtmc: TMC request code segregated from usbtmc_read

These patches implement a modification of the USBTMC
protocol to allow operation with Rigol equipment. The TMC request portion of
the code in function usbtmc_read is segregated to a function
send_request_dev_dep_msg_in as implemented by tommie in
https://github.com/tommie/linux/blob/usbtmc-rigol/drivers/usb/class/usbtmc.c
allowing the reuse later.

Signed-off-by: Alexandre Peixoto Ferreira <alexandref75@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/usbtmc.c