[coreboot-gerrit] Patch merged into coreboot/master: d609e89 libpayload: usb: Fix several minor USB stack bugs

gerrit at coreboot.org gerrit at coreboot.org
Tue Aug 19 23:31:07 CEST 2014


the following patch was just integrated into master:
commit d609e89adf584641202f80ea8dcab824e39cc7e6
Author: Julius Werner <jwerner at chromium.org>
Date:   Wed Sep 25 12:30:07 2013 -0700

    libpayload: usb: Fix several minor USB stack bugs
    
    This patch fixes the following minor bugs in the USB stack:
    
    1. Ensure that all dynamically allocated device structures are cleaned
    on detachment, and that the device address is correctly released again.
    2. Make sure MSC and HID drivers notice missing endpoints and actually
    detach the device in that case (to prevent it from being used).
    3. Make sure XHCI-specific set_address() cleans up all data structures
    on failure.
    4. Fix broken Slot ID range check that prevented XHCI devices from being
    correctly cleaned up.
    
    Change-Id: I7b2b9c8cd6c5e93cb19abcf01425bcd85d2e1f22
    Signed-off-by: Julius Werner <jwerner at chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/170665
    Reviewed-by: Stefan Reinauer <reinauer at google.com>
    Commit-Queue: Ronald Minnich <rminnich at chromium.org>
    Tested-by: Ronald Minnich <rminnich at chromium.org>
    (cherry picked from commit 9671472263ddd0c30400ae3b6da780a18cd21ded)
    Signed-off-by: Isaac Christensen <isaac.christensen at se-eng.com>
    Reviewed-on: http://review.coreboot.org/6701
    Tested-by: build bot (Jenkins)
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>


See http://review.coreboot.org/6701 for details.

-gerrit



More information about the coreboot-gerrit mailing list