Re: [PATCH v2 1/3] usb: xhci: add quirk flag for broken PED bits

From: Felipe Balbi
Date: Mon Nov 21 2016 - 06:56:57 EST



Hi,

Roger Quadros <rogerq@xxxxxx> writes:
> diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
> index f945380..6553903 100644
> --- a/drivers/usb/host/xhci.h
> +++ b/drivers/usb/host/xhci.h
> @@ -1656,6 +1656,9 @@ struct xhci_hcd {
> #define XHCI_SSIC_PORT_UNUSED (1 << 22)
> #define XHCI_NO_64BIT_SUPPORT (1 << 23)
> #define XHCI_MISSING_CAS (1 << 24)
> +/* For controller with a broken Port Disable implementation */
> +#define XHCI_BROKEN_PORT_PED (1 << 21)

since back when I first wrote this, bit 21 has been taken. You should be
using bit 25 here.

--
balbi

Attachment: signature.asc
Description: PGP signature