Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b596cd3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "qusb2: Add missing phy regulator calls in shutdown callback"

parents cd1a7748 246d844a
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -507,17 +507,8 @@ static void qusb_phy_shutdown(struct usb_phy *phy)

	dev_dbg(phy->dev, "%s\n", __func__);

	qusb_phy_enable_clocks(qphy, true);

	/* Disable the PHY */
	writel_relaxed(readl_relaxed(qphy->base + qphy->phy_reg[PWR_CTRL1]) |
			PWR_CTRL1_POWR_DOWN,
			qphy->base + qphy->phy_reg[PWR_CTRL1]);

	/* Makes sure that above write goes through */
	wmb();
	qusb_phy_enable_power(qphy, false);

	qusb_phy_enable_clocks(qphy, false);
}

static u32 qusb_phy_get_linestate(struct qusb_phy *qphy)