[PATCH v2 0/3] Fixes for USB3 CV Chapter 9.15 tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While performing USB3 Command Verifier Chapter 9 tests, failures
were observed during 9.15 ("Function Remote Wakeup Enabled Test").
This is due to the following reasons,

1. Interfaces were incorrectly reporting as remote wakeup capable
   when host requested GET_STATUS.
2. Remote wakeup failures from DWC3 driver due to timeouts.

Address them through this series.

Changes in v2:
- Don't advertise func wakeup capability if USB_CONFIG_ATT_WAKEUP
  is not set in bmAttributes.
- Refactored func wakeup logic in linksts_change_interrupt().

Prashanth K (3):
  usb: gadget: f_ecm: Add get_status callback
  usb: gadget: Use get_status callback to set remote wakeup capability
  usb: dwc3: gadget: Make gadget_wakeup asynchronous

 drivers/usb/dwc3/core.h             |  4 ++
 drivers/usb/dwc3/gadget.c           | 60 +++++++++++------------------
 drivers/usb/gadget/composite.c      | 12 +++---
 drivers/usb/gadget/function/f_ecm.c |  7 ++++
 4 files changed, 39 insertions(+), 44 deletions(-)

-- 
2.25.1





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux