Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
drivers/staging/serqt_usb2:serqt_usb2.c Fix line over 80 characters.
Browse files Browse the repository at this point in the history
Fix checkpatch.pl issues with line over 80
characters in serqt_usb2.c

Signed-off-by: Aybuke Ozdemir <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
aybuke authored and gregkh committed Mar 18, 2014
1 parent 97f2526 commit 53a3e47
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions drivers/staging/serqt_usb2/serqt_usb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,9 @@ static int qt_startup(struct usb_serial *serial)

}

status = box_set_prebuffer_level(serial); /* sets to default value */
status = box_set_prebuffer_level(serial); /* sets to
* default value
*/
if (status < 0) {
dev_dbg(dev, "box_set_prebuffer_level failed\n");
goto startup_error;
Expand Down Expand Up @@ -887,7 +889,8 @@ static int qt_open(struct tty_struct *tty,
(SERIAL_MSR_CTS | SERIAL_MSR_DSR | SERIAL_MSR_RI | SERIAL_MSR_CD);

/* Set Baud rate to default and turn off (default)flow control here */
result = qt_setuart(serial, port->port_number, DEFAULT_DIVISOR, DEFAULT_LCR);
result = qt_setuart(serial, port->port_number, DEFAULT_DIVISOR,
DEFAULT_LCR);
if (result < 0) {
dev_dbg(&port->dev, "qt_setuart failed\n");
return result;
Expand Down Expand Up @@ -1014,11 +1017,13 @@ static void qt_close(struct usb_serial_port *port)
/* Close uart channel */
status = qt_close_channel(serial, index);
if (status < 0)
dev_dbg(&port->dev, "%s - qt_close_channel failed.\n", __func__);
dev_dbg(&port->dev, "%s - qt_close_channel failed.\n",
__func__);

port0->open_ports--;

dev_dbg(&port->dev, "qt_num_open_ports in close%d\n", port0->open_ports);
dev_dbg(&port->dev, "qt_num_open_ports in close%d\n",
port0->open_ports);

if (port0->open_ports == 0) {
if (serial->port[0]->interrupt_in_urb) {
Expand Down Expand Up @@ -1235,7 +1240,8 @@ static void qt_set_termios(struct tty_struct *tty,

/* Now determine flow control */
if (cflag & CRTSCTS) {
dev_dbg(&port->dev, "%s - Enabling HW flow control\n", __func__);
dev_dbg(&port->dev, "%s - Enabling HW flow control\n",
__func__);

/* Enable RTS/CTS flow control */
status = box_set_hw_flow_ctrl(port->serial, index, 1);
Expand Down

0 comments on commit 53a3e47

Please sign in to comment.