android_kernel_xiaomi_sm8450/drivers/usb/common
Thinh Nguyen beec2f0255 usb: common: debug: Check non-standard control requests
[ Upstream commit b6155eaf6b05e558218b44b88a6cad03f15a586c ]

Previously usb_decode_ctrl() only decodes standard control requests, but
it was used for non-standard requests also. If it's non-standard or
unknown standard bRequest, print the Setup data values.

Fixes: af32423a2d ("usb: dwc3: trace: decode ctrl request")
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/8d6a30f2f2f953eff833a5bc5aac640a4cc2fc9f.1658971571.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:25:31 +02:00
..
common.c usb: common: move function's kerneldoc next to its definition 2022-10-26 13:25:31 +02:00
common.h
debug.c usb: common: debug: Check non-standard control requests 2022-10-26 13:25:31 +02:00
Kconfig Partially revert "usb: Kconfig: using select for USB_COMMON dependency" 2021-10-13 10:04:22 +02:00
led.c
Makefile
ulpi.c usb: ulpi: Call of_node_put correctly 2022-02-16 12:54:28 +01:00
usb-conn-gpio.c usb: common: usb-conn-gpio: fix NULL pointer dereference of charger 2021-07-20 16:05:39 +02:00
usb-otg-fsm.c usb: otg-fsm: Fix hrtimer list corruption 2021-08-12 13:22:11 +02:00