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

Changeset 65e6fe3 in mainline


Ignore:
Timestamp:
2012-02-24T16:28:39Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
b9bbaad
Parents:
608db4e
Message:

ohci: Fix typos in power mode initialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/root_hub.c

    r608db4e r65e6fe3  
    177177        usb_log_debug("OHCI rh: Set power mode to ganged power switching.\n");
    178178        /* Set port power mode to ganged power-switching. */
    179         OHCI_CLEAR(regs->rh_desc_a, RHDA_NPS_FLAG);
    180         OHCI_CLEAR(regs->rh_desc_a, RHDA_PSM_FLAG);
     179        OHCI_CLR(regs->rh_desc_a, RHDA_NPS_FLAG);
     180        OHCI_CLR(regs->rh_desc_a, RHDA_PSM_FLAG);
    181181
    182182        /* Turn off power (hub driver will turn this back on)*/
     
    184184
    185185        /* Set to global over-current */
    186         OHCI_CLEAR(regs->rh_desc_a, RHDA_NOCP_FLAG);
    187         OHCI_CLEAR(regs->rh_desc_a, RHDA_OCPM_FLAG);
     186        OHCI_CLR(regs->rh_desc_a, RHDA_NOCP_FLAG);
     187        OHCI_CLR(regs->rh_desc_a, RHDA_OCPM_FLAG);
    188188#else
    189189        usb_log_debug("OHCI rh: Set power mode to per-port power switching.\n");
Note: See TracChangeset for help on using the changeset viewer.