lkml.org 
[lkml]   [2011]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[032/143] USB: fix regression in usbip by setting has_tt flag
    2.6.32-longterm review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Alan Stern <stern@rowland.harvard.edu>

    commit cee6a262550f53a13acfefbc1e3e5ff35c96182c upstream.

    This patch (as1460) fixes a regression in the usbip driver caused by
    the new check for Transaction Translators in USB-2 hubs. The root hub
    registered by vhci_hcd needs to have the has_tt flag set, because it
    can connect to low- and full-speed devices as well as high-speed
    devices.

    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Reported-and-tested-by: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/staging/usbip/vhci_hcd.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/staging/usbip/vhci_hcd.c
    +++ b/drivers/staging/usbip/vhci_hcd.c
    @@ -1134,7 +1134,7 @@ static int vhci_hcd_probe(struct platfor
    usbip_uerr("create hcd failed\n");
    return -ENOMEM;
    }
    -
    + hcd->has_tt = 1;

    /* this is private data for vhci_hcd */
    the_controller = hcd_to_vhci(hcd);



    \
     
     \ /
      Last update: 2011-05-06 03:03    [W:2.277 / U:0.352 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site