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

Changeset 4547f11 in mainline


Ignore:
Timestamp:
2017-12-20T15:52:39Z (4 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
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)
Message:

Fix error printf in ddf_helpers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/ddf_helpers.c

    r3ca4ae9 r4547f11  
    884884            driver->irq_handler ? driver->irq_handler : ddf_hcd_gen_irq_handler;
    885885        int irq_cap;
    886         ret = hcd_ddf_setup_interrupts(device, &hw_res,
     886        int irq_ret = hcd_ddf_setup_interrupts(device, &hw_res,
    887887            irq_handler, driver->irq_code_gen, &irq_cap);
    888         bool irqs_enabled = (ret == EOK);
     888        bool irqs_enabled = (irq_ret == EOK);
    889889        if (irqs_enabled) {
    890890                usb_log_debug("Hw interrupts enabled.\n");
     
    920920                fibril_add_ready(hcd->polling_fibril);
    921921                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));
    923923        }
    924924
Note: See TracChangeset for help on using the changeset viewer.