1. 09 Jun, 2021 1 commit
    • João Loureiro's avatar
      usb: dwc2: Avoid delay when initializing USB peripheral by dwc2 · dcd2bbe0
      João Loureiro authored and Marek Vasut's avatar Marek Vasut committed
      
      
      When `usb start` is called on the terminal, the dwc2 driver will try
      to start every USB device as host first, even if it is explicitly
      configured as peripheral in the device tree (dr_mode = "peripheral").
      
      So to avoid an unwanted 15 seconds delay when initializing the usb
      (one second per channel = 1s x 15), this patch adds a check to the
      initialization, and will skip host initialization of the device is
      explicitly set as peripheral. The checking is already done similarly
      in the `drivers/usb/gadget/dwc2_udc_otg.c` driver.
      Signed-off-by: default avatarJoão Loureiro <joaofl@gmail.com>
      dcd2bbe0
  2. 08 Jun, 2021 1 commit
  3. 07 Jun, 2021 3 commits
  4. 06 Jun, 2021 1 commit
  5. 05 Jun, 2021 12 commits
  6. 04 Jun, 2021 10 commits
  7. 01 Jun, 2021 2 commits
  8. 31 May, 2021 10 commits