fix(st-usb): replace redundant checks with assertsReturning enum usb_status in an enum usb_action function is wrong asthey have different meanings. However, usb_dwc2_ep0_out_start() andusb_dwc2_a
fix(st-usb): replace redundant checks with assertsReturning enum usb_status in an enum usb_action function is wrong asthey have different meanings. However, usb_dwc2_ep0_out_start() andusb_dwc2_activate_setup() only return USBD_OK so we will never get tothere. Replace these checks with asserts in case the code changes infuture.This also silences a warning when compiling with -Wextra.Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>Change-Id: I73dfd5c189a357544c15ceb3f4268da82ce272b9
show more ...
feat(drivers/st/usb): add device driver for STM32MP1Add a device driver for Synopsis DWC2 USB IP of STM32MP15x,this USB OTG device is only supported in device mode.Signed-off-by: Patrick Delauna
feat(drivers/st/usb): add device driver for STM32MP1Add a device driver for Synopsis DWC2 USB IP of STM32MP15x,this USB OTG device is only supported in device mode.Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>Change-Id: I90b21f094f6637b85f3ace23a3a3a2f6fd4e0951