]> git.hungrycats.org Git - linux/commitdiff
dwc_otg: make fiq_split_enable imply fiq_fix_enable
authorP33M <P33M@github.com>
Mon, 5 Aug 2013 10:42:12 +0000 (11:42 +0100)
committerP33M <P33M@github.com>
Mon, 5 Aug 2013 10:42:12 +0000 (11:42 +0100)
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

index 6c89a69b595224083c192193d9ae0f30c7488ba5..4735f516ea346c32faa89653f140fb3db9584a20 100644 (file)
@@ -1070,6 +1070,12 @@ static int __init dwc_otg_driver_init(void)
        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