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

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

Merge "ARM: dts: msm: Enable autosuspend for USB device for msm8937"

parents 63cf5345 e25af46c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -990,6 +990,7 @@
		qcom,boost-sysclk-with-streaming;
		qcom,axi-prefetch-enable;
		qcom,enable-sdp-typec-current-limit;
		qcom,hsusb-otg-delay-lpm;

		qcom,msm-bus,name = "usb2";
		qcom,msm-bus,num-cases = <3>;
+5 −2
Original line number Diff line number Diff line
@@ -1862,7 +1862,9 @@ static void msm_otg_start_host(struct usb_otg *otg, int on)
	}
	msm_otg_dbg_log_event(&motg->phy, "PM RT: StartHost PUT",
				     get_pm_runtime_counter(motg->phy.dev), 0);
	pm_runtime_put_sync(otg->phy->dev);

	pm_runtime_mark_last_busy(otg->phy->dev);
	pm_runtime_put_autosuspend(otg->phy->dev);
}

static void msm_hsusb_vbus_power(struct msm_otg *motg, bool on)
@@ -2041,7 +2043,8 @@ static void msm_otg_start_peripheral(struct usb_otg *otg, int on)
	}
	msm_otg_dbg_log_event(&motg->phy, "PM RT: StartPeri PUT",
				     get_pm_runtime_counter(motg->phy.dev), 0);
	pm_runtime_put(otg->phy->dev);
	pm_runtime_mark_last_busy(otg->phy->dev);
	pm_runtime_put_autosuspend(otg->phy->dev);
}

static int msm_otg_set_peripheral(struct usb_otg *otg,