OpenCloudOS-Kernel/drivers/usb/dwc2
Minas Harutyunyan 9a0d6f7c0a usb: dwc2: Fix SET/CLEAR_FEATURE and GET_STATUS flows
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 <hminas@synopsys.com>
Fixes: fa389a6d77 ("usb: dwc2: gadget: Add remote_wakeup_allowed flag")
Tested-by: Jack Mitchell <ml@embed.me.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@kernel.org>
2020-02-11 08:45:45 +02:00
..
Kconfig usb: remove redundant 'default n' from Kconfig-s 2019-05-21 10:06:22 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
core.c usb: dwc2: use a longer core rest timeout in dwc2_core_reset() 2019-10-22 10:42:08 +03:00
core.h usb: Spelling s/enpoint/endpoint/ 2019-11-04 15:53:00 +01:00
core_intr.c usb: dwc2: Drop unlock/lock upon queueing a work item 2020-01-15 14:43:12 +01:00
debug.h usb: dwc2: Fix kernel doc's warnings. 2018-05-21 10:02:13 +03:00
debugfs.c usb: dwc2: fix debugfs FIFO count 2020-01-15 10:39:21 +01:00
gadget.c usb: dwc2: Fix SET/CLEAR_FEATURE and GET_STATUS flows 2020-02-11 08:45:45 +02:00
hcd.c usb: dwc2: Fix NULL qh in dwc2_queue_transaction 2020-01-15 10:39:20 +01:00
hcd.h Revert "usb: dwc2: host: Setting qtd to NULL after freeing it" 2019-06-18 11:58:29 +03:00
hcd_ddma.c usb: dwc2: Modify dwc2_readl/writel functions prototype 2018-07-30 10:39:16 +03:00
hcd_intr.c usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression) 2019-06-06 13:51:41 +03:00
hcd_queue.c usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression) 2019-06-06 13:51:41 +03:00
hw.h usb: dwc2: Move UTMI_PHY_DATA defines closer 2019-05-03 09:13:48 +03:00
params.c usb: dwc2: Switch to use device_property_count_u32() 2019-08-09 08:28:29 +03:00
pci.c usb: dwc2: pci: Fix an error code in probe 2018-11-14 11:07:12 +02:00
platform.c usb: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:29:18 +02:00