]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: serial: omninet: use generic write implementation
authorJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 16:13:49 +0000 (17:13 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 28 Mar 2017 09:13:55 +0000 (11:13 +0200)
commitd27444152c0d1fb969ee0acb8334287cf8b30d1b
tree5e833000ecf99474b63233730f3f66c20cfd72d6
parent2dc1071b345816eca531360a22fa7a70563a7fc2
USB: serial: omninet: use generic write implementation

Now that the endpoint-port mapping has been properly set up during
probe, we can switch to using the more efficient generic write
implementation.

Note that this currently means that chars_in_buffer now overcounts
slightly as we always write a full endpoint-sized packet.

Also add a copyright entry.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/omninet.c