brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
[openwrt.git] / target / linux / brcm2708 / patches-3.10 / 0077-dcw_otg-avoid-logging-function-that-can-cause-panics.patch
1 From 0b4709bfe4dc73b8e2923b7d8a6c29db8a5ce47f Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Mon, 15 Jul 2013 23:55:52 +0100
4 Subject: [PATCH 077/196] dcw_otg: avoid logging function that can cause panics
5
6 See: https://github.com/raspberrypi/firmware/issues/21
7 Thanks to cleverca22 for fix
8 ---
9  drivers/usb/host/dwc_otg/dwc_otg_attr.c | 2 +-
10  1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/drivers/usb/host/dwc_otg/dwc_otg_attr.c b/drivers/usb/host/dwc_otg/dwc_otg_attr.c
13 index 9602fda..c6966af 100644
14 --- a/drivers/usb/host/dwc_otg/dwc_otg_attr.c
15 +++ b/drivers/usb/host/dwc_otg/dwc_otg_attr.c
16 @@ -920,7 +920,7 @@ static ssize_t spramdump_show(struct device *_dev,
17  {
18          dwc_otg_device_t *otg_dev = dwc_otg_drvdev(_dev);
19  
20 -       dwc_otg_dump_spram(otg_dev->core_if);
21 +       //dwc_otg_dump_spram(otg_dev->core_if);
22  
23         return sprintf(buf, "SPRAM Dump\n");
24  }
25 -- 
26 1.9.1
27