aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-3.10/0077-dcw_otg-avoid-logging-function-that-can-cause-panics.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/0077-dcw_otg-avoid-logging-function-that-can-cause-panics.patch')
-rw-r--r--target/linux/brcm2708/patches-3.10/0077-dcw_otg-avoid-logging-function-that-can-cause-panics.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-3.10/0077-dcw_otg-avoid-logging-function-that-can-cause-panics.patch b/target/linux/brcm2708/patches-3.10/0077-dcw_otg-avoid-logging-function-that-can-cause-panics.patch
new file mode 100644
index 0000000000..baec4b4acf
--- /dev/null
+++ b/target/linux/brcm2708/patches-3.10/0077-dcw_otg-avoid-logging-function-that-can-cause-panics.patch
@@ -0,0 +1,22 @@
+From 9112b4c659edaf09792f1af02fe9e9c4753fb411 Mon Sep 17 00:00:00 2001
+From: popcornmix <popcornmix@gmail.com>
+Date: Mon, 15 Jul 2013 23:55:52 +0100
+Subject: [PATCH 077/174] dcw_otg: avoid logging function that can cause panics
+
+See: https://github.com/raspberrypi/firmware/issues/21
+Thanks to cleverca22 for fix
+---
+ drivers/usb/host/dwc_otg/dwc_otg_attr.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/usb/host/dwc_otg/dwc_otg_attr.c
++++ b/drivers/usb/host/dwc_otg/dwc_otg_attr.c
+@@ -920,7 +920,7 @@ static ssize_t spramdump_show(struct dev
+ {
+ dwc_otg_device_t *otg_dev = dwc_otg_drvdev(_dev);
+
+- dwc_otg_dump_spram(otg_dev->core_if);
++ //dwc_otg_dump_spram(otg_dev->core_if);
+
+ return sprintf(buf, "SPRAM Dump\n");
+ }