USB: serial: metro-usb: dummy implement write_int_callback() function.
authorAleksey Babahin <tamerlan311@gmail.com>
Mon, 19 Mar 2012 20:46:32 +0000 (00:46 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 20:30:37 +0000 (13:30 -0700)
commit28a4b6a690dfc000e86c8e02a1e1c1a9832252ec
tree9ef34a6d44c7ad3c7500ad79e2b0a888cc400e5b
parent810ec78e9a5d7de845598e8816370bcb2ccabf32
USB: serial: metro-usb: dummy implement write_int_callback() function.

This function is never called now. Because we don`t send much data
to the device, only one byte via usb_interrupt_msg(). That doesn't require
callback function. But without declaration of write_int_callback inside
the struct usb_serial_driver, the usb_serial_probe doesn't initialize
endpoint address for the interrupt out pipe(interrupt_out_endpointAddress).
This endpoint is necessary for sending data via usb_interrupt_msg()
function.

Signed-off-by: Aleksey Babahin <tamerlan311@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/metro-usb.c