aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.6/002-usb-host-ohci-platform-BUG_ON-to-WARN_ON-on-probe.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-07-26 12:23:56 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-07-26 12:23:56 +0000
commit009e36806b89a29141dbe28b170117f5330b06da (patch)
tree690a5c5296e4999e22f7552b97290717de7405a8 /target/linux/generic/patches-3.6/002-usb-host-ohci-platform-BUG_ON-to-WARN_ON-on-probe.patch
parente7ece301fea27f5ff8977d61aa914e31ff299b07 (diff)
downloadupstream-009e36806b89a29141dbe28b170117f5330b06da.tar.gz
upstream-009e36806b89a29141dbe28b170117f5330b06da.tar.bz2
upstream-009e36806b89a29141dbe28b170117f5330b06da.zip
kernel: remove kernel 3.6
kernel 3.6 is not used by any target any more, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41834
Diffstat (limited to 'target/linux/generic/patches-3.6/002-usb-host-ohci-platform-BUG_ON-to-WARN_ON-on-probe.patch')
-rw-r--r--target/linux/generic/patches-3.6/002-usb-host-ohci-platform-BUG_ON-to-WARN_ON-on-probe.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/target/linux/generic/patches-3.6/002-usb-host-ohci-platform-BUG_ON-to-WARN_ON-on-probe.patch b/target/linux/generic/patches-3.6/002-usb-host-ohci-platform-BUG_ON-to-WARN_ON-on-probe.patch
deleted file mode 100644
index 68e8a7a35b..0000000000
--- a/target/linux/generic/patches-3.6/002-usb-host-ohci-platform-BUG_ON-to-WARN_ON-on-probe.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From b6dd245c4594482d46507a0bfd100439be367952 Mon Sep 17 00:00:00 2001
-From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
-Date: Mon, 6 Aug 2012 18:07:30 -0700
-Subject: [PATCH] usb: host: ohci-platform: BUG_ON() to WARN_ON() on probe
-
-Commit b6dd245c4594482d46507a0bfd100439be367952 upstream.
-
-usb_ohci_pdata is certainly required in ohci-platform driver.
-This patch avoids using BUG_ON() from driver,
-and return from probe with WARN_ON() if pdata was NULL.
-
-Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
-Acked-by: Alan Stern <stern@rowland.harvard.edu>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/usb/host/ohci-platform.c | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
---- a/drivers/usb/host/ohci-platform.c
-+++ b/drivers/usb/host/ohci-platform.c
-@@ -83,10 +83,14 @@ static int __devinit ohci_platform_probe
- {
- struct usb_hcd *hcd;
- struct resource *res_mem;
-+ struct usb_ohci_pdata *pdata = dev->dev.platform_data;
- int irq;
- int err = -ENOMEM;
-
-- BUG_ON(!dev->dev.platform_data);
-+ if (!pdata) {
-+ WARN_ON(1);
-+ return -ENODEV;
-+ }
-
- if (usb_disabled())
- return -ENODEV;