]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci: refactor xhci_set_configuration
authorJanne Grunau <j@jannau.net>
Thu, 4 Apr 2024 06:25:49 +0000 (08:25 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 5 Apr 2024 01:25:14 +0000 (03:25 +0200)
commitf1820eb4f44dfbfc16f06fbaff9ce3d9dde268f5
tree75af632a469688e3f979a6c6b287eaa7886f77e3
parentcdfcc37428e06f4730ab9a17cc084eeb7676ea1a
usb: xhci: refactor xhci_set_configuration

In the next step endpoints for multiple interfaces are set up. Move most
of the per endpoint initialization to separate function to avoid another
identation level.

Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Janne Grunau <j@jannau.net>
drivers/usb/host/xhci.c