]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: sandbox: Add gadget callbacks
authorPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 10 Sep 2021 14:16:22 +0000 (16:16 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 12 Oct 2021 12:20:04 +0000 (14:20 +0200)
commit4c3dc6f69afa47923451fb6baf6c2a60947e45f8
tree541c338eac6b1925aa4f766039eebf41f5ce6024
parent9d591106dc22bae57a614a7b42ab9d52c6b921f8
usb: sandbox: Add gadget callbacks

Add usb_gadget_handle_interrupts(), usb_gadget_register_driver()
and usb_gadget_unregister_driver() to be able to test
binding usb gadget.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/usb-sandbox.c