Skip to content
  • David Brownell's avatar
    USB: ehci tolerates some buggy devices · caa9ef67
    David Brownell authored
    
    
    This teaches EHCI how to to work around bugs in certain high speed
    devices, by accomodating "bulk" packets that exceed the 512 byte
    constant value required by the USB 2.0 specification.  (Have a
    look at section 5.8.3, paragraphs 1 and 3.)
    
    It also makes the descriptor parsing code warn when it encounters
    such bugs.  (We've had reports of maybe two or three such devices,
    all pretty recent.)
    
    Such devices are nonconformant.  The proper fix is have the vendors
    of those devices do the simple, obvious, and correct thing ... which
    will let them be used with USB hosts that don't have workarounds for
    this particular vendor bug.  But unless/until they do, we can at least
    have one of the high speed HCDs work with such buggy devices.
    
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    caa9ef67