diff options
Diffstat (limited to 'drivers/usb/serial/zte_ev.c')
| -rw-r--r-- | drivers/usb/serial/zte_ev.c | 21 | 
1 files changed, 10 insertions, 11 deletions
diff --git a/drivers/usb/serial/zte_ev.c b/drivers/usb/serial/zte_ev.c index eae2c873b39f..e40ab739c4a6 100644 --- a/drivers/usb/serial/zte_ev.c +++ b/drivers/usb/serial/zte_ev.c @@ -13,7 +13,6 @@   * show the commands used to talk to the device, but I am not sure.   */  #include <linux/kernel.h> -#include <linux/init.h>  #include <linux/tty.h>  #include <linux/slab.h>  #include <linux/module.h> @@ -53,7 +52,7 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty,  				 USB_CTRL_GET_TIMEOUT);  	dev_dbg(dev, "result = %d\n", result); -	/* send  2st cmd and recieve data */ +	/* send 2st cmd and receive data */  	/*  	 * 16.0  CTL    a1 21 00 00  00 00 07 00   CLASS              25.1.0(5)  	 * 16.0  DI     00 96 00 00  00 00 08 @@ -65,7 +64,7 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty,  				 USB_CTRL_GET_TIMEOUT);  	debug_data(dev, __func__, len, buf, result); -	/* send 3 cmd */ +	/* send 3rd cmd */  	/*  	 * 16.0 CTL    21 20 00 00  00 00 07 00    CLASS                30.1.0  	 * 16.0 DO     80 25 00 00  00 00 08       .%.....              30.2.0 @@ -84,7 +83,7 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty,  				 USB_CTRL_GET_TIMEOUT);  	debug_data(dev, __func__, len, buf, result); -	/* send 4 cmd */ +	/* send 4th cmd */  	/*  	 * 16.0 CTL    21 22 03 00  00 00 00 00  	 */ @@ -95,7 +94,7 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty,  				 USB_CTRL_GET_TIMEOUT);  	dev_dbg(dev, "result = %d\n", result); -	/* send 5 cmd */ +	/* send 5th cmd */  	/*  	 * 16.0  CTL    a1 21 00 00  00 00 07 00   CLASS               33.1.0  	 * 16.0  DI     80 25 00 00  00 00 08 @@ -107,7 +106,7 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty,  				 USB_CTRL_GET_TIMEOUT);  	debug_data(dev, __func__, len, buf, result); -	/* send 6 cmd */ +	/* send 6th cmd */  	/*  	 * 16.0  CTL    21 20 00 00  00 00 07 00    CLASS               34.1.0  	 * 16.0  DO     80 25 00 00  00 00 08 @@ -195,7 +194,7 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port)  				 USB_CTRL_GET_TIMEOUT);  	debug_data(dev, __func__, len, buf, result); -	/* send 4 cmd */ +	/* send 4th cmd */  	/*  	 * 16.0 CTL    21 20 00 00  00 00 07 00      CLASS            30.1.0  	 * 16.0  DO    00 c2 01 00  00 00 08         .%.....          30.2.0 @@ -214,7 +213,7 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port)  				 USB_CTRL_GET_TIMEOUT);  	debug_data(dev, __func__, len, buf, result); -	/* send 5 cmd */ +	/* send 5th cmd */  	/*  	 * 16.0 CTL    21 22 03 00  00 00 00 00  	 */ @@ -225,7 +224,7 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port)  				 USB_CTRL_GET_TIMEOUT);  	dev_dbg(dev, "result = %d\n", result); -	/* send 6 cmd */ +	/* send 6th cmd */  	/*  	 * 16.0  CTL    a1 21 00 00  00 00 07 00        CLASS          33.1.0  	 * 16.0  DI     00 c2 01 00  00 00 08 @@ -237,7 +236,7 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port)  				 USB_CTRL_GET_TIMEOUT);  	debug_data(dev, __func__, len, buf, result); -	/* send 7 cmd */ +	/* send 7th cmd */  	/*  	 * 16.0  CTL    21 20 00 00  00 00 07 00  CLASS               354.1.0  	 * 16.0  DO     00 c2 01 00  00 00 08     .......             354.2.0 @@ -256,7 +255,7 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port)  				 USB_CTRL_GET_TIMEOUT);  	debug_data(dev, __func__, len, buf, result); -	/* send 8 cmd */ +	/* send 8th cmd */  	/*  	 * 16.0 CTL    21 22 03 00  00 00 00 00  	 */  |