Przeglądaj źródła

update(port/musb/usb_hc_musb): add portpower bit for commit e4b56cee

sakumisu 1 rok temu
rodzic
commit
643578e5be
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      port/musb/usb_hc_musb.c

+ 1 - 0
port/musb/usb_hc_musb.c

@@ -653,6 +653,7 @@ int usbh_roothub_control(struct usbh_bus *bus, struct usb_setup_packet *setup, u
                     }
                 }
 
+                status |= (1 << HUB_PORT_FEATURE_POWER);
                 memcpy(buf, &status, 4);
                 break;
             default: