ixp4xx: remove linux 3.10 support
[openwrt.git] / target / linux / brcm2708 / patches-3.10 / 0087-dwc_otg-make-fiq_split_enable-imply-fiq_fix_enable.patch
1 From 53e5848c799c1fa6a7f6c3464d2bb2f5c85f555f Mon Sep 17 00:00:00 2001
2 From: P33M <P33M@github.com>
3 Date: Mon, 5 Aug 2013 11:42:12 +0100
4 Subject: [PATCH 087/196] dwc_otg: make fiq_split_enable imply fiq_fix_enable
5
6 Failing to set up the FIQ correctly would result in
7 "IRQ 32: nobody cared" errors in dmesg.
8 ---
9  drivers/usb/host/dwc_otg/dwc_otg_driver.c | 6 ++++++
10  1 file changed, 6 insertions(+)
11
12 diff --git a/drivers/usb/host/dwc_otg/dwc_otg_driver.c b/drivers/usb/host/dwc_otg/dwc_otg_driver.c
13 index 6c89a69..4735f51 100644
14 --- a/drivers/usb/host/dwc_otg/dwc_otg_driver.c
15 +++ b/drivers/usb/host/dwc_otg/dwc_otg_driver.c
16 @@ -1070,6 +1070,12 @@ static int __init dwc_otg_driver_init(void)
17         int retval = 0;
18         int error;
19          struct device_driver *drv;
20 +
21 +       if(fiq_split_enable && !fiq_fix_enable) {
22 +               printk(KERN_WARNING "dwc_otg: fiq_split_enable was set without fiq_fix_enable! Correcting.\n");
23 +               fiq_fix_enable = 1;
24 +       }
25 +
26         printk(KERN_INFO "%s: version %s (%s bus)\n", dwc_driver_name,
27                DWC_DRIVER_VERSION,
28  #ifdef LM_INTERFACE
29 -- 
30 1.9.1
31