Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95787
b: refs/heads/master
c: 87521c4
h: refs/heads/master
i:
  95785: ea504dd
  95783: 96464ce
v: v3
  • Loading branch information
Roel Kluin authored and Greg Kroah-Hartman committed May 2, 2008
1 parent e68dea9 commit c28d825
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 28ffd79c31a7bed6f610511a4d104d1255cd1d95
refs/heads/master: 87521c46f63f0e1cac2bf8af08942ac47bb25de5
5 changes: 2 additions & 3 deletions trunk/drivers/usb/serial/mos7840.c
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ static int mos7840_tiocmset(struct usb_serial_port *port, struct file *file,
{
struct moschip_port *mos7840_port;
unsigned int mcr;
unsigned int status;
int status;

dbg("%s - port %d", __func__, port->number);

Expand All @@ -1740,11 +1740,10 @@ static int mos7840_tiocmset(struct usb_serial_port *port, struct file *file,

mos7840_port->shadowMCR = mcr;

status = 0;
status = mos7840_set_uart_reg(port, MODEM_CONTROL_REGISTER, mcr);
if (status < 0) {
dbg("setting MODEM_CONTROL_REGISTER Failed\n");
return -1;
return status;
}

return 0;
Expand Down

0 comments on commit c28d825

Please sign in to comment.