]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720"
authorPali Rohár <pali@kernel.org>
Thu, 3 Feb 2022 21:44:43 +0000 (22:44 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 25 Feb 2022 13:42:21 +0000 (19:12 +0530)
commit8e10548f7f4814e530857d2049d6af6bc78add53
tree678dfa2fe2a6e28f9d2e5b1985c19b7ba5a79e69
parentee995101fde67f85a3cd4c74f4f92fc4592e726b
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>
drivers/usb/host/xhci-mvebu.c
drivers/usb/host/xhci-mvebu.h
drivers/usb/host/xhci-plat.c
drivers/usb/host/xhci-plat.h