• David Brownell's avatar
    USB: fix EHCI periodic transfers · 01c17142
    David Brownell authored
    As noted by Stefan Neis <Stefan.Neis@kobil.com>, we had a recent
    regression with EHCI periodic transfers, in some (seemingly not
    all that common) cases.
    
    The root cause was that the schedule activation was only loosely
    coupled to the addition or removal of transfers, so two different
    execution contexts could both think they had to deactivate (or
    conversely activate) the schedule.  So this fix tightens that
    coupling, managing it more like a refcount.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    01c17142
ehci-sched.c 59.3 KB