]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: host: xhci-plat: mvebu: use ->quirks instead of ->init_quirk() func
authorThéo Lebrun <theo.lebrun@bootlin.com>
Wed, 5 Feb 2025 17:36:46 +0000 (18:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Mar 2025 08:18:02 +0000 (09:18 +0100)
commit64eb182d5f7a5ec30227bce4f6922ff663432f44
tree99e6db1598909a682757bb9d76528a0010d693f2
parent042c3dd1f2d3f8a27c5bb9c2e7866a674607d4d4
usb: host: xhci-plat: mvebu: use ->quirks instead of ->init_quirk() func

Compatible "marvell,armada3700-xhci" match data uses the
struct xhci_plat_priv::init_quirk() function pointer to add
XHCI_RESET_ON_RESUME as quirk on XHCI.

Instead, use the struct xhci_plat_priv::quirks field.

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20250205-s2r-cdns-v7-1-13658a271c3c@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mvebu.c
drivers/usb/host/xhci-mvebu.h
drivers/usb/host/xhci-plat.c