mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
SET/CLEAR_FEATURE for Remote Wakeup allowance not handled correctly.
GET_STATUS handling provided not correct data on DATA Stage.
Issue seen when gadget's dr_mode set to "otg" mode and connected
to MacOS.
Both are fixed and tested using USBCV Ch.9 tests.
Signed-off-by: Minas Harutyunyan <[email protected]>
Fixes: fa389a6d77 ("usb: dwc2: gadget: Add remote_wakeup_allowed flag")
Tested-by: Jack Mitchell <[email protected]>
Cc: [email protected]
Signed-off-by: Felipe Balbi <[email protected]>