Re: opticon driver patch kernel version 2.6.37.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

Martin wrote:

From: Martin Jansen <martin.jansen@xxxxxxxxxxx>

Add support for RTS and CTS line status

Signed-off-by: Martin Jansen <martin.jansen@xxxxxxxxxxx>
---

   Also noticed a couple of typos in the comments...

--- linux-2.6.37.1/drivers/usb/serial/opticon.c.orig	2011-02-24
04:24:09.678554999 -0800
+++ linux-2.6.37.1/drivers/usb/serial/opticon.c	2011-02-24
05:35:13.859088028 -0800
[...]
@@ -240,35 +286,28 @@ static int opticon_write(struct tty_stru

 	usb_serial_debug_data(debug, &port->dev, __func__, count, buffer);

-	if (port->bulk_out_endpointAddress) {
-		usb_fill_bulk_urb(urb, serial->dev,
-				  usb_sndbulkpipe(serial->dev,
-						  port->bulk_out_endpointAddress),
-				  buffer, count, opticon_write_bulk_callback, priv);
-	} else {
-		struct usb_ctrlrequest *dr;
+	/* The conncected devices do not have a bulk write endpoint,

   s/conncected/connected/

+	 * to transmit data to de barcode device the control endpoint is used */

   s/de/the/

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux