[PATCH v3] xHCI: Increase the timeout for controller save/restore state operation

2012-06-12 Thread Andiry Xu
-by: Andiry Xu andiry...@gmail.com Cc: Ming Lei ming@canonical.com Cc: stable@vger.kernel.org --- drivers/usb/host/xhci.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index afdc73e..73e8817 100644 --- a/drivers/usb

[PATCH v2] xHCI: Increase the timeout for controller save state operation

2012-06-06 Thread Andiry Xu
From: Andiry Xu andiry...@amd.com When system software decides to power down the xHC with the intent of resuming operation at a later time, it will ask xHC to save the internal state and restore it when resume to correctly recover from a power event. Two bits are used to enable this operation

[PATCH] xHCI: Increase the timeout for controller save state operation

2012-06-04 Thread Andiry Xu
the timeout is set to 1ms. There is bug report (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1002697) indicates that the timeout is too short for ASMedia ASM1042 host controller to save the state successfully. Increase the timeout to 10ms helps to resolve the issue. Signed-off-by: Andiry Xu andiry