Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 952bc66 in mainline


Ignore:
Timestamp:
2013-12-31T00:22:32Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial
Children:
639db552
Parents:
6576019
Message:

ohci, uhci: Don't unregister interrupt handler on setup failure.

This is handled by the library helper.

Location:
uspace/drv/bus/usb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci.c

    r6576019 r952bc66  
    124124                usb_log_warning("Failed to enable interrupts: %s."
    125125                    " Falling back to polling\n", str_error(ret));
    126                 /* We don't need that handler */
    127                 unregister_interrupt_handler(device, irq);
    128126        } else {
    129127                usb_log_debug("Hw interrupts enabled.\n");
  • uspace/drv/bus/usb/uhci/uhci.c

    r6576019 r952bc66  
    147147                usb_log_warning("Failed to enable interrupts: %s."
    148148                    " Falling back to polling.\n", str_error(ret));
    149                 unregister_interrupt_handler(device, irq);
    150149        } else {
    151150                usb_log_debug("Hw interrupts enabled.\n");
Note: See TracChangeset for help on using the changeset viewer.