Re: [RFT 3/5] xHCI: Increase host controller halt timeout.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/3/17 Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>:
> Eric, please play with the value of XHCI_MAX_HALT_USEC and see what is
> the minimum value that your VIA host needs in order to halt.

Hi Sarah.

I found that it took 1us to stop the VIA host. So the value of
XHCI_MAX_HALT_USEC is enough. I skipped the patch.

Best Regards,
Elric Fu

>
> Signed-off-by: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>
> Reported-by: Elric Fu <elricfu1@xxxxxxxxx>
> ---
>  drivers/usb/host/xhci-ext-caps.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/usb/host/xhci-ext-caps.h b/drivers/usb/host/xhci-ext-caps.h
> index c7f3312..f388c3d 100644
> --- a/drivers/usb/host/xhci-ext-caps.h
> +++ b/drivers/usb/host/xhci-ext-caps.h
> @@ -20,7 +20,7 @@
>  * Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>  */
>  /* Up to 16 ms to halt an HC */
> -#define XHCI_MAX_HALT_USEC     (16*1000)
> +#define XHCI_MAX_HALT_USEC     (50*1000)
>  /* HC not running - set to 1 when run/stop bit is cleared. */
>  #define XHCI_STS_HALT          (1<<0)
>
> --
> 1.7.9
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux