• David Brownell's avatar
    USB core sanity check · 55920e90
    David Brownell authored
      
      Periodically folk have run into problems where usb-ohci oopses
      due to device refcount bugs ...
        
      This is a minor patch to move the sanity check out of usb-ohci
      into the generic bits of usbcore.    There are comments that
      suggest a path for a more comprehensive approach too.
        
      Applies cleanly against 2.5.7 and I've been testing with it
      for a while.  I can't think of any reason it shouldn't also go
      into 2.4, beyond the patch not applying cleanly there ... :)
    55920e90
usb.c 78.7 KB