Commit f64102a1 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix dev_dbg() call in visor.c

Turns out that this macro doesn't work in usb-serial drivers, I had forgotten
about that :(
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 41214ce6
......@@ -494,7 +494,7 @@ static int visor_write (struct usb_serial_port *port, const unsigned char *buf,
spin_lock_irqsave(&priv->lock, flags);
if (priv->outstanding_urbs > URB_UPPER_LIMIT) {
spin_unlock_irqrestore(&priv->lock, flags);
dev_dbg(&port->dev, "write limit hit\n");
dbg("%s - write limit hit\n", __FUNCTION__);
return 0;
}
spin_unlock_irqrestore(&priv->lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment