Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338690
b: refs/heads/master
c: e29a773
h: refs/heads/master
v: v3
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 7c4fe5b commit 111ffc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 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: 0b8718a264f58b096753e29f7e04f188bf64938e
refs/heads/master: e29a7738c531ba33a70cbf78809fb3dc5a0a42db
11 changes: 6 additions & 5 deletions trunk/drivers/usb/serial/opticon.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ static void opticon_read_bulk_callback(struct urb *urb)
case -ENOENT:
case -ESHUTDOWN:
/* this urb is terminated, clean up */
dev_dbg(&priv->udev->dev, "%s - urb shutting down with status: %d\n",
dev_dbg(&port->dev, "%s - urb shutting down with status: %d\n",
__func__, status);
return;
default:
dev_dbg(&priv->udev->dev, "%s - nonzero urb status received: %d\n",
dev_dbg(&port->dev, "%s - nonzero urb status received: %d\n",
__func__, status);
goto exit;
}
Expand Down Expand Up @@ -118,14 +118,14 @@ static void opticon_read_bulk_callback(struct urb *urb)
priv->cts = true;
spin_unlock_irqrestore(&priv->lock, flags);
} else {
dev_dbg(&priv->udev->dev,
dev_dbg(&port->dev,
"Unknown data packet received from the device:"
" %2x %2x\n",
data[0], data[1]);
}
}
} else {
dev_dbg(&priv->udev->dev,
dev_dbg(&port->dev,
"Improper amount of data received from the device, "
"%d bytes", urb->actual_length);
}
Expand Down Expand Up @@ -219,7 +219,8 @@ static void opticon_write_control_callback(struct urb *urb)
kfree(urb->setup_packet);

if (status)
dev_dbg(&priv->udev->dev, "%s - nonzero write bulk status received: %d\n",
dev_dbg(&priv->port->dev,
"%s - non-zero urb status received: %d\n",
__func__, status);

spin_lock_irqsave(&priv->lock, flags);
Expand Down

0 comments on commit 111ffc5

Please sign in to comment.