Thread (47 messages) flat view 47 messages, 12 authors, 2018-07-17

Re: dvb usb issues since kernel 4.9

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2018-01-08 19:51:08
Also in: linux-media, linux-usb, lkml

On Mon, Jan 8, 2018 at 11:15 AM, Alan Stern [off-list ref] wrote:
Both dwc2_hsotg and ehci-hcd use the tasklets embedded in the
giveback_urb_bh member of struct usb_hcd.  See usb_hcd_giveback_urb()
in drivers/usb/core/hcd.c; the calls are

        else if (high_prio_bh)
                tasklet_hi_schedule(&bh->bh);
        else
                tasklet_schedule(&bh->bh);

As it turns out, high_prio_bh gets set for interrupt and isochronous
URBs but not for bulk and control URBs.  The DVB driver in question
uses bulk transfers.
Ok, so we could try out something like the appended?

NOTE! I have not tested this at all. It LooksObvious(tm), but...

                    Linus

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help