]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: usb: Replace legacy usb_gadget_handle_interrupts()
authorMarek Vasut <marex@denx.de>
Fri, 1 Sep 2023 09:50:03 +0000 (11:50 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 15 Sep 2023 21:38:02 +0000 (23:38 +0200)
commit2caf974b5fac69a1b778e64503f2c107a8d7c3a3
tree3daf43bed41e1ff8eed9f8e1a020bf10319e9095
parent890076d20e618d06d0bf215018764e2352335860
board: usb: Replace legacy usb_gadget_handle_interrupts()

The usb_gadget_handle_interrupts() is no longer used anywhere,
replace the remaining uses with dm_usb_gadget_handle_interrupts()
which takes udevice as a parameter.

Some of the UDC drivers currently ignore the index parameter altogether,
those also ignore the udevice and have to be reworked. Other like the
dwc3_uboot_handle_interrupt() had to be switched from index to udevice
look up to avoid breakage.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # on khadas vim3
Signed-off-by: Marek Vasut <marex@denx.de>
17 files changed:
arch/arm/mach-rockchip/board.c
board/purism/librem5/spl.c
board/samsung/common/exynos5-dt.c
board/st/stih410-b2260/board.c
board/ti/am43xx/board.c
drivers/usb/dwc3/core.c
drivers/usb/dwc3/dwc3-omap.c
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/atmel_usba_udc.c
drivers/usb/gadget/ci_udc.c
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/gadget/udc/udc-uclass.c
drivers/usb/host/usb-sandbox.c
drivers/usb/musb-new/musb_uboot.c
include/dwc3-omap-uboot.h
include/dwc3-uboot.h
include/linux/usb/gadget.h