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

2012-06-12 Thread Andiry Xu
ssue. Signed-off-by: Andiry Xu Cc: Ming Lei Cc: --- 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/host/xhci.c +++ b/drivers/usb/host/xhc

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

2012-06-06 Thread Andiry Xu
From: Andiry Xu 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: Save State and

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

2012-06-04 Thread Andiry Xu
to 0. Currently 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-o