summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-plat.h
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-02-04 00:44:43 +0300
committerVinod Koul <vkoul@kernel.org>2022-02-25 16:42:21 +0300
commit8e10548f7f4814e530857d2049d6af6bc78add53 (patch)
tree678dfa2fe2a6e28f9d2e5b1985c19b7ba5a79e69 /drivers/usb/host/xhci-plat.h
parentee995101fde67f85a3cd4c74f4f92fc4592e726b (diff)
downloadlinux-8e10548f7f4814e530857d2049d6af6bc78add53.tar.xz
Revert "usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720"
This reverts commit 3241929b67d28c83945d3191c6816a3271fd6b85. Armada 3720 phy driver (phy-mvebu-a3700-comphy.c) does not return -EOPNOTSUPP from phy_power_on() callback anymore. So remove XHCI_SKIP_PHY_INIT flag from xhci_mvebu_a3700_plat_setup() and then also whole xhci_mvebu_a3700_plat_setup() function which is there just to handle -EOPNOTSUPP for XHCI_SKIP_PHY_INIT. xhci plat_setup callback is not used by any other xhci plat driver, so remove this callback completely. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Marek Behún <kabel@kernel.org> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20220203214444.1508-5-kabel@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/usb/host/xhci-plat.h')
-rw-r--r--drivers/usb/host/xhci-plat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-plat.h b/drivers/usb/host/xhci-plat.h
index 561d0b7bce09..1fb149d1fbce 100644
--- a/drivers/usb/host/xhci-plat.h
+++ b/drivers/usb/host/xhci-plat.h
@@ -13,7 +13,6 @@
struct xhci_plat_priv {
const char *firmware_name;
unsigned long long quirks;
- int (*plat_setup)(struct usb_hcd *);
void (*plat_start)(struct usb_hcd *);
int (*init_quirk)(struct usb_hcd *);
int (*suspend_quirk)(struct usb_hcd *);