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

Changeset 8b415cc in mainline


Ignore:
Timestamp:
2017-08-20T17:54:13Z (3 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
master
Children:
decfc8d1
Parents:
ee28ae66
Message:

Fixed root hub interrupt detection logic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/hc.c

    ree28ae66 r8b415cc  
    460460
    461461        /* TODO: Figure out how root hub interrupts work. */
    462         if (status | XHCI_REG_MASK(XHCI_OP_PCD)) {
     462        if (status & XHCI_REG_MASK(XHCI_OP_PCD)) {
    463463                usb_log_debug2("Root hub interrupt.");
    464464                xhci_rh_interrupt(&hc->rh);
Note: See TracChangeset for help on using the changeset viewer.