Changeset 4547f11 in mainline
- Timestamp:
- 2017-12-20T15:52:39Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 516d361
- Parents:
- 3ca4ae9
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 15:46:56)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 15:52:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/ddf_helpers.c
r3ca4ae9 r4547f11 884 884 driver->irq_handler ? driver->irq_handler : ddf_hcd_gen_irq_handler; 885 885 int irq_cap; 886 ret = hcd_ddf_setup_interrupts(device, &hw_res,886 int irq_ret = hcd_ddf_setup_interrupts(device, &hw_res, 887 887 irq_handler, driver->irq_code_gen, &irq_cap); 888 bool irqs_enabled = ( ret == EOK);888 bool irqs_enabled = (irq_ret == EOK); 889 889 if (irqs_enabled) { 890 890 usb_log_debug("Hw interrupts enabled.\n"); … … 920 920 fibril_add_ready(hcd->polling_fibril); 921 921 usb_log_warning("Failed to enable interrupts: %s." 922 " Falling back to polling.\n", str_error(irq_ cap));922 " Falling back to polling.\n", str_error(irq_ret)); 923 923 } 924 924
Note:
See TracChangeset
for help on using the changeset viewer.