• A
    USB: EHCI: remove usages of hcd->state · e8799906
    Alan Stern 提交于
    This patch (as1483) improves the ehci-hcd driver family by getting rid
    of the reliance on the hcd->state variable.  It has no clear owner and
    it isn't protected by the usual HCD locks.  In its place, the patch
    adds a new, private ehci->rh_state field to record the state of the
    root hub.
    
    Along the way, the patch removes a couple of lines containing
    redundant assignments to the state variable.  Also, the QUIESCING
    state simply gets changed to the RUNNING state, because the driver
    doesn't make any distinction between them.
    Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
    Acked-by: NJingoo Han <jg1.han@samsung.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    e8799906
ehci-fsl.c 17.7 KB