Changeset 8820544 in mainline for uspace/drv/bus/usb/uhci/hc.c
- Timestamp:
- 2014-08-16T00:02:04Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 35b8bfe, 8cd680c
- Parents:
- 83f29e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
r83f29e0 r8820544 151 151 return rc; 152 152 } 153 153 154 154 irq_code_t irq_code = { 155 155 .rangecount = hc_irq_pio_range_count, … … 158 158 .cmds = irq_cmds 159 159 }; 160 161 162 163 164 165 166 167 168 160 161 /* Register handler to avoid interrupt lockup */ 162 rc = register_interrupt_handler(device, irq, handler, &irq_code); 163 if (rc != EOK) { 164 usb_log_error("Failed to register interrupt handler: %s.\n", 165 str_error(rc)); 166 return rc; 167 } 168 169 169 return EOK; 170 170 }
Note:
See TracChangeset
for help on using the changeset viewer.