]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: sandbox: Add DM_USB_GADGET support
authorMarek Vasut <marex@denx.de>
Fri, 1 Sep 2023 09:49:48 +0000 (11:49 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 15 Sep 2023 21:38:01 +0000 (23:38 +0200)
commit7307b121a5e9c83648edecd8b96f7fb763944ef8
tree5efa002dc3b75d67af2b240ff0b9b3dfe23d9496
parenta1fa8bbb90f4ee6da98bd14542a5170998c00444
usb: sandbox: Add DM_USB_GADGET support

Remove local usb_gadget_register_driver()/usb_gadget_unregister_driver()
implementation which is implemented in udc-core.c instead if DM_USB_GADGET
is enabled. Add no-op dm_usb_gadget_handle_interrupts() implementation.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Marek Vasut <marex@denx.de>
drivers/usb/host/usb-sandbox.c