Skip to content
Snippets Groups Projects
  • Alexey Brodkin's avatar
    168d24c0
    usb: Remove annoying warning about bogus URB · 168d24c0
    Alexey Brodkin authored
    When ath9k-htc Wi-Fi dongle is used with generic OHCI controller
    infinite stream of warnings appears in debug console like this:
    -------------------------->8----------------------
    usb 1-1: new full-speed USB device number 2 using ohci-platform
    usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
    usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size:
    51008
    ------------[ cut here ]------------
    WARNING: CPU: 0 PID: 19 at drivers/usb/core/urb.c:449
    usb_submit_urb+0x1b4/0x498()
    usb 1-1: BOGUS urb xfer, pipe 1 != type 3
    Modules linked in:
    CPU: 0 PID: 19 Comm: kworker/0:1 Not tainted
    4.4.0-rc4-00017-g00e2d79-dirty #3
    Workqueue: events request_firmware_work_func
    
    Stack Trace:
    arc_unwind_core.constprop.1+0xa4/0x110
    ---[ end trace 649ef8c342817fc2 ]---
    ------------[ cut here ]------------
    WARNING: CPU: 0 PID: 19 at drivers/usb/core/urb.c:449
    usb_submit_urb+0x1b4/0x498()
    usb 1-1: BOGUS urb xfer, pipe 1 != type 3
    Modules linked in:
    CPU: 0 PID: 19 Comm: kworker/0:1 Tainted: G        W
    4.4.0-rc4-00017-g00e2d79-dirty #3
    Workqueue: events request_firmware_work_func
    
    Stack Trace:
    arc_unwind_core.constprop.1+0xa4/0x110
    ---[ end trace 649ef8c342817fc3 ]---
    ------------[ cut here ]------------
    -------------------------->8----------------------
    
    There're some discussions in mailing lists proposing to disable
    that particular check alltogether and magically all seem to work
    fine with muted warning.
    
    Anyways new thread on that regard could be found here:
    http://lists.infradead.org/pipermail/linux-snps-arc/2016-July/001310.html
    
    
    
    Let's see what comes out of that new discussion, hopefully patching
    of generic USB stuff won't be required then.
    
    Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
    168d24c0
    History
    usb: Remove annoying warning about bogus URB
    Alexey Brodkin authored
    When ath9k-htc Wi-Fi dongle is used with generic OHCI controller
    infinite stream of warnings appears in debug console like this:
    -------------------------->8----------------------
    usb 1-1: new full-speed USB device number 2 using ohci-platform
    usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
    usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size:
    51008
    ------------[ cut here ]------------
    WARNING: CPU: 0 PID: 19 at drivers/usb/core/urb.c:449
    usb_submit_urb+0x1b4/0x498()
    usb 1-1: BOGUS urb xfer, pipe 1 != type 3
    Modules linked in:
    CPU: 0 PID: 19 Comm: kworker/0:1 Not tainted
    4.4.0-rc4-00017-g00e2d79-dirty #3
    Workqueue: events request_firmware_work_func
    
    Stack Trace:
    arc_unwind_core.constprop.1+0xa4/0x110
    ---[ end trace 649ef8c342817fc2 ]---
    ------------[ cut here ]------------
    WARNING: CPU: 0 PID: 19 at drivers/usb/core/urb.c:449
    usb_submit_urb+0x1b4/0x498()
    usb 1-1: BOGUS urb xfer, pipe 1 != type 3
    Modules linked in:
    CPU: 0 PID: 19 Comm: kworker/0:1 Tainted: G        W
    4.4.0-rc4-00017-g00e2d79-dirty #3
    Workqueue: events request_firmware_work_func
    
    Stack Trace:
    arc_unwind_core.constprop.1+0xa4/0x110
    ---[ end trace 649ef8c342817fc3 ]---
    ------------[ cut here ]------------
    -------------------------->8----------------------
    
    There're some discussions in mailing lists proposing to disable
    that particular check alltogether and magically all seem to work
    fine with muted warning.
    
    Anyways new thread on that regard could be found here:
    http://lists.infradead.org/pipermail/linux-snps-arc/2016-July/001310.html
    
    
    
    Let's see what comes out of that new discussion, hopefully patching
    of generic USB stuff won't be required then.
    
    Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>