usb: host: xhci: mvebu: add reset on resume quirk
The mvebu xHCI host driver does not have suspend/resume support. Use of the XHCI_RESET_ON_RESUME quirk is mandatory in order to avoid failures after resume. This will work only if no USB device is plugged-in. While at it, mention in the Kconfig file that this IP is also present on the A3700 SoC. Signed-off-by: Ofer Heifetz <oferh@marvell.com> [miquel.raynal@bootlin.com: Reword the commit message] Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
b97a313483
commit
12453a897e
@@ -98,6 +98,10 @@ static const struct xhci_plat_priv xhci_plat_marvell_armada = {
|
||||
.init_quirk = xhci_mvebu_mbus_init_quirk,
|
||||
};
|
||||
|
||||
static const struct xhci_plat_priv xhci_plat_marvell_armada3700 = {
|
||||
.init_quirk = xhci_mvebu_a3700_init_quirk,
|
||||
};
|
||||
|
||||
static const struct xhci_plat_priv xhci_plat_renesas_rcar_gen2 = {
|
||||
.firmware_name = XHCI_RCAR_FIRMWARE_NAME_V1,
|
||||
.init_quirk = xhci_rcar_init_quirk,
|
||||
@@ -123,6 +127,9 @@ static const struct of_device_id usb_xhci_of_match[] = {
|
||||
}, {
|
||||
.compatible = "marvell,armada-380-xhci",
|
||||
.data = &xhci_plat_marvell_armada,
|
||||
}, {
|
||||
.compatible = "marvell,armada3700-xhci",
|
||||
.data = &xhci_plat_marvell_armada3700,
|
||||
}, {
|
||||
.compatible = "renesas,xhci-r8a7790",
|
||||
.data = &xhci_plat_renesas_rcar_gen2,
|
||||
|
Reference in New Issue
Block a user