kernel_samsung_a53x/drivers/usb
Krishna Kurapati 939abb0345 usb: dwc3: core: Skip setting event buffers for host only controllers
[ Upstream commit 89d7f962994604a3e3d480832788d06179abefc5 ]

On some SoC's like SA8295P where the tertiary controller is host-only
capable, GEVTADDRHI/LO, GEVTSIZ, GEVTCOUNT registers are not accessible.
Trying to access them leads to a crash.

For DRD/Peripheral supported controllers, event buffer setup is done
again in gadget_pullup. Skip setup or cleanup of event buffers if
controller is host-only capable.

Suggested-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20240420044901.884098-4-quic_kriskura@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:47 +01:00
..
atm usb: atm: cxacru: fix endpoint checking in cxacru_bind() 2024-11-19 14:19:34 +01:00
c67x00
cdns3 usb: cdns3: fix memory double free when handle zero packet 2024-11-18 22:25:39 +01:00
chipidea usb: chipidea: wait controller resume finished for wakeup irq 2024-11-18 12:12:46 +01:00
class USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages 2024-11-19 14:19:02 +01:00
common
core USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor 2024-11-19 14:19:45 +01:00
dwc2 usb: dwc2: host: Fix dereference issue in DDMA completion flow. 2024-11-19 11:32:23 +01:00
dwc3 usb: dwc3: core: Skip setting event buffers for host only controllers 2024-11-23 23:20:47 +01:00
early
gadget usb: gadget: fsl: Increase size of name buffer for endpoints 2024-11-23 23:20:46 +01:00
host xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration 2024-11-23 23:20:42 +01:00
image
isp1760
misc usb: misc: uss720: check for incompatible versions of the Belkin F5U002 2024-11-19 14:19:07 +01:00
mon usb: mon: Fix atomicity violation in mon_bin_vma_fault 2024-11-18 12:12:47 +01:00
mtu3
musb usb: musb: da8xx: fix a resource leak in probe() 2024-11-19 14:19:33 +01:00
notify
notify_lsi
phy Revert "usb: phy: generic: Get the vbus supply" 2024-11-19 09:22:49 +01:00
renesas_usbhs
roles usb: roles: don't get/set_role() when usb_role_switch is unregistered 2024-11-18 22:25:39 +01:00
serial USB: serial: debug: do not echo input by default 2024-11-23 23:20:28 +01:00
storage usb-storage: alauda: Check whether the media is initialized 2024-11-19 14:19:05 +01:00
typec usb: typec: ucsi: displayport: Fix potential deadlock 2024-11-19 12:26:50 +01:00
usbip usb: vhci-hcd: Do not drop references before new references are gained 2024-11-23 23:20:27 +01:00
Kconfig
Kconfig.variant1
Makefile
Makefile.variant1
usb-skeleton.c