Changeset e78660f in mainline for uspace/drv/usbhub/ports.c


Ignore:
Timestamp:
2011-05-07T09:05:57Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
abfd36b
Parents:
3b543d5
Message:

hub driver: fix for endless polling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/ports.c

    r3b543d5 re78660f  
    141141                if(status & (1<<bit_idx)){
    142142                        usb_log_info(
    143                             "there was unsupported change on port %d: %d\n",
     143                            "there was not yet handled change on port %d: %d"
     144                            ";clearing it\n",
    144145                        port, bit_idx);
    145146                        int opResult = usb_hub_clear_port_feature(
    146147                            hub->control_pipe,
    147                             port, USB_HUB_FEATURE_C_PORT_CONNECTION);
     148                            port, bit_idx);
    148149                        if (opResult != EOK) {
    149150                                usb_log_warning(
     
    157158        }
    158159        if (status >> 16) {
    159                 usb_log_info("there was unsupported change on port %d: %X\n",
     160                usb_log_info("there was a mistake on port %d "
     161                    "(not cleared status change): %X\n",
    160162                        port, status);
    161163        }
Note: See TracChangeset for help on using the changeset viewer.