aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/patches-4.4/096-04-usb-dwc3-DWC_usb31-controller-check.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-03-22 09:43:01 +0100
committerJohn Crispin <john@phrozen.org>2017-03-22 09:45:18 +0100
commit3a3564ead5e4cf2f6ff73302c1e680b5575079ec (patch)
treee7acdf854e6577dd56616d8e5e0def8a2e0427d3 /target/linux/ipq806x/patches-4.4/096-04-usb-dwc3-DWC_usb31-controller-check.patch
parentef6c4cc4ee046aa3f0bdb307c2ceea45ac2636aa (diff)
downloadupstream-3a3564ead5e4cf2f6ff73302c1e680b5575079ec.tar.gz
upstream-3a3564ead5e4cf2f6ff73302c1e680b5575079ec.tar.bz2
upstream-3a3564ead5e4cf2f6ff73302c1e680b5575079ec.zip
ipq806x: remove v4.4 support
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ipq806x/patches-4.4/096-04-usb-dwc3-DWC_usb31-controller-check.patch')
-rw-r--r--target/linux/ipq806x/patches-4.4/096-04-usb-dwc3-DWC_usb31-controller-check.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/ipq806x/patches-4.4/096-04-usb-dwc3-DWC_usb31-controller-check.patch b/target/linux/ipq806x/patches-4.4/096-04-usb-dwc3-DWC_usb31-controller-check.patch
deleted file mode 100644
index b6f583053f..0000000000
--- a/target/linux/ipq806x/patches-4.4/096-04-usb-dwc3-DWC_usb31-controller-check.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From c4137a9c841ec7fb300782d211f2d6907f4d6e20 Mon Sep 17 00:00:00 2001
-From: John Youn <John.Youn@synopsys.com>
-Date: Fri, 5 Feb 2016 17:08:18 -0800
-Subject: usb: dwc3: DWC_usb31 controller check
-
-Add a convenience function to check if the controller is DWC_usb31.
-
-Signed-off-by: John Youn <johnyoun@synopsys.com>
-Signed-off-by: Felipe Balbi <balbi@kernel.org>
----
- drivers/usb/dwc3/core.h | 6 ++++++
- 1 file changed, 6 insertions(+)
-
---- a/drivers/usb/dwc3/core.h
-+++ b/drivers/usb/dwc3/core.h
-@@ -1019,6 +1019,12 @@ struct dwc3_gadget_ep_cmd_params {
- void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
- int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
-
-+/* check whether we are on the DWC_usb31 core */
-+static inline bool dwc3_is_usb31(struct dwc3 *dwc)
-+{
-+ return !!(dwc->revision & DWC3_REVISION_IS_DWC31);
-+}
-+
- #if IS_ENABLED(CONFIG_USB_DWC3_HOST) || IS_ENABLED(CONFIG_USB_DWC3_DUAL_ROLE)
- int dwc3_host_init(struct dwc3 *dwc);
- void dwc3_host_exit(struct dwc3 *dwc);