diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-01 20:06:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-01 20:06:09 -0400 |
commit | 3e75c6de1ac33fe3500f44573d9212dc82c99f59 (patch) | |
tree | ef10932e204ba8a9885051b06d4524d284207d61 /drivers/usb/serial/keyspan.c | |
parent | cb1595563880a81dab6eab9a5ecb4520d2e76077 (diff) | |
parent | 940ab8f1ef9369da5b58a1bec6820bfd4a7b9042 (diff) |
Merge tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB patches from Greg KH:
"Here's the big USB pull request for 3.15-rc1.
The normal set of patches, lots of controller driver updates, and a
smattering of individual USB driver updates as well.
All have been in linux-next for a while"
* tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (249 commits)
xhci: Transition maintainership to Mathias Nyman.
USB: disable reset-resume when USB_QUIRK_RESET is set
USB: unbind all interfaces before rebinding any
usb: phy: Add ulpi IDs for SMSC USB3320 and TI TUSB1210
usb: gadget: tcm_usb_gadget: stop format strings
usb: gadget: f_fs: add missing spinlock and mutex unlock
usb: gadget: composite: switch over to ERR_CAST()
usb: gadget: inode: switch over to memdup_user()
usb: gadget: f_subset: switch over to PTR_RET
usb: gadget: lpc32xx_udc: fix wrong clk_put() sequence
USB: keyspan: remove dead debugging code
USB: serial: add missing newlines to dev_<level> messages.
USB: serial: add missing braces
USB: serial: continue to write on errors
USB: serial: continue to read on errors
USB: serial: make bulk_out_size a lower limit
USB: cypress_m8: fix potential scheduling while atomic
devicetree: bindings: document lsi,zevio-usb
usb: chipidea: add support for USB OTG controller on LSI Zevio SoCs
usb: chipidea: imx: Use dev_name() for ci_hdrc name to distinguish USBs
...
Diffstat (limited to 'drivers/usb/serial/keyspan.c')
-rw-r--r-- | drivers/usb/serial/keyspan.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c index 265c6776b081..d3acaead5a81 100644 --- a/drivers/usb/serial/keyspan.c +++ b/drivers/usb/serial/keyspan.c | |||
@@ -397,17 +397,6 @@ static void usa26_instat_callback(struct urb *urb) | |||
397 | 397 | ||
398 | msg = (struct keyspan_usa26_portStatusMessage *)data; | 398 | msg = (struct keyspan_usa26_portStatusMessage *)data; |
399 | 399 | ||
400 | #if 0 | ||
401 | dev_dbg(&urb->dev->dev, | ||
402 | "%s - port status: port %d cts %d dcd %d dsr %d ri %d toff %d txoff %d rxen %d cr %d", | ||
403 | __func__, msg->port, msg->hskia_cts, msg->gpia_dcd, msg->dsr, | ||
404 | msg->ri, msg->_txOff, msg->_txXoff, msg->rxEnabled, | ||
405 | msg->controlResponse); | ||
406 | #endif | ||
407 | |||
408 | /* Now do something useful with the data */ | ||
409 | |||
410 | |||
411 | /* Check port number from message and retrieve private data */ | 400 | /* Check port number from message and retrieve private data */ |
412 | if (msg->port >= serial->num_ports) { | 401 | if (msg->port >= serial->num_ports) { |
413 | dev_dbg(&urb->dev->dev, "%s - Unexpected port number %d\n", __func__, msg->port); | 402 | dev_dbg(&urb->dev->dev, "%s - Unexpected port number %d\n", __func__, msg->port); |
@@ -523,9 +512,6 @@ static void usa28_instat_callback(struct urb *urb) | |||
523 | goto exit; | 512 | goto exit; |
524 | } | 513 | } |
525 | 514 | ||
526 | /*dev_dbg(&urb->dev->dev, "%s %12ph", __func__, data);*/ | ||
527 | |||
528 | /* Now do something useful with the data */ | ||
529 | msg = (struct keyspan_usa28_portStatusMessage *)data; | 515 | msg = (struct keyspan_usa28_portStatusMessage *)data; |
530 | 516 | ||
531 | /* Check port number from message and retrieve private data */ | 517 | /* Check port number from message and retrieve private data */ |
@@ -605,9 +591,6 @@ static void usa49_instat_callback(struct urb *urb) | |||
605 | goto exit; | 591 | goto exit; |
606 | } | 592 | } |
607 | 593 | ||
608 | /*dev_dbg(&urb->dev->dev, "%s: %11ph", __func__, data);*/ | ||
609 | |||
610 | /* Now do something useful with the data */ | ||
611 | msg = (struct keyspan_usa49_portStatusMessage *)data; | 594 | msg = (struct keyspan_usa49_portStatusMessage *)data; |
612 | 595 | ||
613 | /* Check port number from message and retrieve private data */ | 596 | /* Check port number from message and retrieve private data */ |
@@ -1793,12 +1776,6 @@ static int keyspan_usa28_send_setup(struct usb_serial *serial, | |||
1793 | err = usb_submit_urb(this_urb, GFP_ATOMIC); | 1776 | err = usb_submit_urb(this_urb, GFP_ATOMIC); |
1794 | if (err != 0) | 1777 | if (err != 0) |
1795 | dev_dbg(&port->dev, "%s - usb_submit_urb(setup) failed\n", __func__); | 1778 | dev_dbg(&port->dev, "%s - usb_submit_urb(setup) failed\n", __func__); |
1796 | #if 0 | ||
1797 | else { | ||
1798 | dev_dbg(&port->dev, "%s - usb_submit_urb(setup) OK %d bytes\n", __func__, | ||
1799 | this_urb->transfer_buffer_length); | ||
1800 | } | ||
1801 | #endif | ||
1802 | 1779 | ||
1803 | return 0; | 1780 | return 0; |
1804 | } | 1781 | } |
@@ -1976,13 +1953,6 @@ static int keyspan_usa49_send_setup(struct usb_serial *serial, | |||
1976 | err = usb_submit_urb(this_urb, GFP_ATOMIC); | 1953 | err = usb_submit_urb(this_urb, GFP_ATOMIC); |
1977 | if (err != 0) | 1954 | if (err != 0) |
1978 | dev_dbg(&port->dev, "%s - usb_submit_urb(setup) failed (%d)\n", __func__, err); | 1955 | dev_dbg(&port->dev, "%s - usb_submit_urb(setup) failed (%d)\n", __func__, err); |
1979 | #if 0 | ||
1980 | else { | ||
1981 | dev_dbg(&port->dev, "%s - usb_submit_urb(%d) OK %d bytes (end %d)\n", __func__, | ||
1982 | outcont_urb, this_urb->transfer_buffer_length, | ||
1983 | usb_pipeendpoint(this_urb->pipe)); | ||
1984 | } | ||
1985 | #endif | ||
1986 | 1956 | ||
1987 | return 0; | 1957 | return 0; |
1988 | } | 1958 | } |