]> git.baikalelectronics.ru Git - kernel.git/commit
USB: mct_u232: clean up read implementation
authorJohan Hovold <jhovold@gmail.com>
Tue, 16 Apr 2013 16:01:27 +0000 (18:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2013 17:05:35 +0000 (10:05 -0700)
commit420a50ea5f18649b744ab73275a3242a8f80a12a
treed45a22e74ea5382b6d61b7891bc2b0c2f317095a
parent38d6ca4095fe894ba13de995cd8fbc59ad045852
USB: mct_u232: clean up read implementation

The device uses the second interrupt-in endpoint of the interface for
reading. Stop abusing the port read urb and store a pointer to the
second interrupt-in urb as port-private data instead.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mct_u232.c