lkml.org 
[lkml]   [2008]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] USB: fix interrupt disabling for HCDs with shared interrupt handlers
    On Mon, 30 Jun 2008, Stefan Becker wrote:

    > Hi,
    >
    > here is the proposed patch to fix the problem. I hope I used git
    > correctly to generate it...

    > This patch doesn't modify the interface of usb_add_hcd(), i.e. HCD code
    > can still use IRQF_DISABLED. It will now silently convert this into an
    > internal HCD flag and clear IRQF_DISABLED before requesting the interrupt
    > from the Linux core. usb_hcd_irq() will check this flag to disable/re-enable
    > the interrupts on a case by case basis.

    Don't bother with this extra stuff. All USB host controller drivers
    want to have interrupts disabled when their IRQ handlers run.

    Alan Stern



    \
     
     \ /
      Last update: 2008-06-30 21:37    [W:0.030 / U:30.380 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site