aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-3.10/0087-dwc_otg-make-fiq_split_enable-imply-fiq_fix_enable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/0087-dwc_otg-make-fiq_split_enable-imply-fiq_fix_enable.patch')
-rw-r--r--target/linux/brcm2708/patches-3.10/0087-dwc_otg-make-fiq_split_enable-imply-fiq_fix_enable.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-3.10/0087-dwc_otg-make-fiq_split_enable-imply-fiq_fix_enable.patch b/target/linux/brcm2708/patches-3.10/0087-dwc_otg-make-fiq_split_enable-imply-fiq_fix_enable.patch
new file mode 100644
index 0000000000..c8ba58e4b0
--- /dev/null
+++ b/target/linux/brcm2708/patches-3.10/0087-dwc_otg-make-fiq_split_enable-imply-fiq_fix_enable.patch
@@ -0,0 +1,26 @@
+From 635578168de091d59e7d1a837286cff86fb9badb Mon Sep 17 00:00:00 2001
+From: P33M <P33M@github.com>
+Date: Mon, 5 Aug 2013 11:42:12 +0100
+Subject: [PATCH 087/174] dwc_otg: make fiq_split_enable imply fiq_fix_enable
+
+Failing to set up the FIQ correctly would result in
+"IRQ 32: nobody cared" errors in dmesg.
+---
+ drivers/usb/host/dwc_otg/dwc_otg_driver.c | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+--- a/drivers/usb/host/dwc_otg/dwc_otg_driver.c
++++ b/drivers/usb/host/dwc_otg/dwc_otg_driver.c
+@@ -1070,6 +1070,12 @@ static int __init dwc_otg_driver_init(vo
+ int retval = 0;
+ int error;
+ struct device_driver *drv;
++
++ if(fiq_split_enable && !fiq_fix_enable) {
++ printk(KERN_WARNING "dwc_otg: fiq_split_enable was set without fiq_fix_enable! Correcting.\n");
++ fiq_fix_enable = 1;
++ }
++
+ printk(KERN_INFO "%s: version %s (%s bus)\n", dwc_driver_name,
+ DWC_DRIVER_VERSION,
+ #ifdef LM_INTERFACE