• A
    USB: EHCI: fix handling of dead controllers · 67b2e029
    Alan Stern 提交于
    This patch (as1165) makes a few small changes in the logic used by
    ehci-hcd when it encounters a controller error:
    
    	Instead of printing out the masked status, it prints the
    	original status as read directly from the hardware.
    
    	It doesn't check for the STS_HALT status bit before taking
    	action.  The mere fact that the STS_FATAL bit is set means
    	that something bad has happened and the controller needs to
    	be reset.  With the old code this test could never succeed
    	because the STS_HALT bit was masked out from the status.
    
    I anticipate that this will prevent the occasional "irq X: nobody cared"
    problem people encounter when their EHCI controllers die.
    Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
    Cc: David Brownell <david-b@pacbell.net>
    Cc: stable <stable@kernel.org>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    67b2e029
ehci-hcd.c 31.0 KB