From: <gregkh@linuxfoundation.org>
To: John.Youn@synopsys.com, balbi@ti.com, gregkh@linuxfoundation.org,
johnyoun@synopsys.com
Cc: <stable@vger.kernel.org>, <stable-commits@vger.kernel.org>
Subject: Patch "usb: dwc3: pci: Add platform data for Synopsys HAPS" has been added to the 4.2-stable tree
Date: Mon, 07 Dec 2015 00:29:51 -0800 [thread overview]
Message-ID: <144947699112369@kroah.com> (raw)
This is a note to let you know that I've just added the patch titled
usb: dwc3: pci: Add platform data for Synopsys HAPS
to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
usb-dwc3-pci-add-platform-data-for-synopsys-haps.patch
and it can be found in the queue-4.2 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From bb7f3d6d323a56b9c3b3e727380d1395a7f10107 Mon Sep 17 00:00:00 2001
From: John Youn <John.Youn@synopsys.com>
Date: Sat, 26 Sep 2015 00:11:15 -0700
Subject: usb: dwc3: pci: Add platform data for Synopsys HAPS
From: John Youn <John.Youn@synopsys.com>
commit bb7f3d6d323a56b9c3b3e727380d1395a7f10107 upstream.
Add platform data and set usb3_lpm_capable and has_lpm_erratum.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/usb/dwc3/dwc3-pci.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--- a/drivers/usb/dwc3/dwc3-pci.c
+++ b/drivers/usb/dwc3/dwc3-pci.c
@@ -102,6 +102,21 @@ static int dwc3_pci_quirks(struct pci_de
}
}
+ if (pdev->vendor == PCI_VENDOR_ID_SYNOPSYS &&
+ (pdev->device == PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3 ||
+ pdev->device == PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3_AXI ||
+ pdev->device == PCI_DEVICE_ID_SYNOPSYS_HAPSUSB31)) {
+
+ struct dwc3_platform_data pdata;
+
+ memset(&pdata, 0, sizeof(pdata));
+ pdata.usb3_lpm_capable = true;
+ pdata.has_lpm_erratum = true;
+
+ return platform_device_add_data(pci_get_drvdata(pdev), &pdata,
+ sizeof(pdata));
+ }
+
return 0;
}
Patches currently in stable-queue which might be from John.Youn@synopsys.com are
queue-4.2/usb-dwc3-support-synopsys-usb-3.1-ip.patch
queue-4.2/usb-dwc3-pci-set-enblslpm-quirk-for-synopsys-platforms.patch
queue-4.2/usb-dwc3-pci-add-platform-data-for-synopsys-haps.patch
queue-4.2/usb-dwc3-pci-add-the-pci-product-id-for-synopsys-usb-3.1.patch
queue-4.2/usb-dwc3-add-dis_enblslpm_quirk.patch
queue-4.2/usb-dwc3-pci-add-the-synopsys-haps-axi-product-id.patch
reply other threads:[~2015-12-07 12:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=144947699112369@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=John.Youn@synopsys.com \
--cc=balbi@ti.com \
--cc=johnyoun@synopsys.com \
--cc=stable-commits@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.