Re: [PATCH v2] xhci: extend quirk for Renesas cards

2014-03-12 Thread Sarah Sharp
Mathias, this is fine to apply as-is.  Since it's after -rc6, Greg's
tree is probably now frozen.  Stick this patch in your queue for
usb-linus, mark it for stable, and send it off once 3.15-rc1 is out.

Igor, please do not add Signed-off-by lines unless the developer
explicitly types those words.  Same with Acked-by lines.

Sarah Sharp

On Wed, Mar 12, 2014 at 11:16:24AM +0400, Igor Gnatenko wrote:
 After suspend another Renesas PCI-X USB 3.0 card doesn't work.
 [root@fedora-20 ~]# lspci -vmnnd 1912:
 Device:   03:00.0
 Class:USB controller [0c03]
 Vendor:   Renesas Technology Corp. [1912]
 Device:   uPD720202 USB 3.0 Host Controller [0015]
 SVendor:  Renesas Technology Corp. [1912]
 SDevice:  uPD720202 USB 3.0 Host Controller [0015]
 Rev:  02
 ProgIf:   30
 
 Reported-and-tested-by: Anatoly Kharchenko rfr-b...@yandex.ru
 Reference: http://redmine.russianfedora.pro/issues/1315
 Signed-off-by: Igor Gnatenko i.gnatenko.br...@gmail.com
 Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com
 ---
  drivers/usb/host/xhci-pci.c | 4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)
 
 diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
 index 04f986d..13d4add 100644
 --- a/drivers/usb/host/xhci-pci.c
 +++ b/drivers/usb/host/xhci-pci.c
 @@ -143,9 +143,7 @@ static void xhci_pci_quirks(struct device *dev, struct 
 xhci_hcd *xhci)
   xhci-quirks |= XHCI_TRUST_TX_LENGTH;
   }
   if (pdev-vendor == PCI_VENDOR_ID_RENESAS 
 - pdev-device == 0x0015 
 - pdev-subsystem_vendor == PCI_VENDOR_ID_SAMSUNG 
 - pdev-subsystem_device == 0xc0cd)
 + pdev-device == 0x0015)
   xhci-quirks |= XHCI_RESET_ON_RESUME;
   if (pdev-vendor == PCI_VENDOR_ID_VIA)
   xhci-quirks |= XHCI_RESET_ON_RESUME;
 -- 
 1.9.0
 
 --
 To unsubscribe from this list: send the line unsubscribe linux-usb in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v2] xhci: extend quirk for Renesas cards

2014-03-12 Thread Igor Gnatenko
On Wed, 2014-03-12 at 10:59 -0700, Sarah Sharp wrote: 
 Mathias, this is fine to apply as-is.  Since it's after -rc6, Greg's
 tree is probably now frozen.  Stick this patch in your queue for
 usb-linus, mark it for stable, and send it off once 3.15-rc1 is out.
 
 Igor, please do not add Signed-off-by lines unless the developer
 explicitly types those words.  Same with Acked-by lines.
Ok. sorry about this.
 Sarah Sharp
 
 On Wed, Mar 12, 2014 at 11:16:24AM +0400, Igor Gnatenko wrote:
  After suspend another Renesas PCI-X USB 3.0 card doesn't work.
  [root@fedora-20 ~]# lspci -vmnnd 1912:
  Device: 03:00.0
  Class:  USB controller [0c03]
  Vendor: Renesas Technology Corp. [1912]
  Device: uPD720202 USB 3.0 Host Controller [0015]
  SVendor:Renesas Technology Corp. [1912]
  SDevice:uPD720202 USB 3.0 Host Controller [0015]
  Rev:02
  ProgIf: 30
  
  Reported-and-tested-by: Anatoly Kharchenko rfr-b...@yandex.ru
  Reference: http://redmine.russianfedora.pro/issues/1315
  Signed-off-by: Igor Gnatenko i.gnatenko.br...@gmail.com
  Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com
  ---
   drivers/usb/host/xhci-pci.c | 4 +---
   1 file changed, 1 insertion(+), 3 deletions(-)
  
  diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
  index 04f986d..13d4add 100644
  --- a/drivers/usb/host/xhci-pci.c
  +++ b/drivers/usb/host/xhci-pci.c
  @@ -143,9 +143,7 @@ static void xhci_pci_quirks(struct device *dev, struct 
  xhci_hcd *xhci)
  xhci-quirks |= XHCI_TRUST_TX_LENGTH;
  }
  if (pdev-vendor == PCI_VENDOR_ID_RENESAS 
  -   pdev-device == 0x0015 
  -   pdev-subsystem_vendor == PCI_VENDOR_ID_SAMSUNG 
  -   pdev-subsystem_device == 0xc0cd)
  +   pdev-device == 0x0015)
  xhci-quirks |= XHCI_RESET_ON_RESUME;
  if (pdev-vendor == PCI_VENDOR_ID_VIA)
  xhci-quirks |= XHCI_RESET_ON_RESUME;
  -- 
  1.9.0
  
  --
  To unsubscribe from this list: send the line unsubscribe linux-usb in
  the body of a message to majord...@vger.kernel.org
  More majordomo info at  http://vger.kernel.org/majordomo-info.html
 
-- 
-Igor Gnatenko

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html