Changeset efe9463 in mainline


Ignore:
Timestamp:
2017-10-03T15:53:26Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
472235a
Parents:
adb4e683
Message:

xhci: fix the irq code once again

Previous code unintentionally disabled interrupts.

File:
1 edited

Legend:

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

    radb4e683 refe9463  
    268268        {
    269269                .cmd = CMD_PIO_WRITE_A_32,
    270                 .srcarg = 4,
     270                .srcarg = 3,
    271271                .addr = NULL    /* intr[0].iman */
    272272        },
     
    537537        XHCI_REG_SET(intr, XHCI_INTR_ERDP_EHB, 1);
    538538
    539         /**
    540          * After changing the way this function works, second port status change
    541          * would not raise an interrupt because of IE being set to 0. This is
    542          * a temporary hotfix that fixes this issue.
    543          * TODO: Research & properly fix this.
    544          */
    545         XHCI_REG_SET(intr, XHCI_INTR_IE, 1);
    546 
    547539        /* Handle all of the collected events if possible. */
    548540        if (last_idx > 0) {
Note: See TracChangeset for help on using the changeset viewer.