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

Commit a87499b7 authored by Ashok Vuyyuru's avatar Ashok Vuyyuru
Browse files

msm: ipa3: Fix to use paired PM operation for IPA



Becauase of using wrong pair of PM operation device
was not resuming if suspend fails. Adding changes to
use correct set of PM operations.

Change-Id: Ib9fdea8f93f0a6dafbd5908dc8fc2bbf4f1e0904
Signed-off-by: default avatarAshok Vuyyuru <avuyyuru@codeaurora.org>
parent 802aad74
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3738,8 +3738,8 @@ int ipa_get_prot_id(enum ipa_client_type client)
EXPORT_SYMBOL(ipa_get_prot_id);

static const struct dev_pm_ops ipa_pm_ops = {
	.suspend = ipa_ap_suspend,
	.resume_noirq = ipa_ap_resume,
	.suspend_late = ipa_ap_suspend,
	.resume_early = ipa_ap_resume,
};

static struct platform_driver ipa_plat_drv = {
+2 −2
Original line number Diff line number Diff line
@@ -2699,8 +2699,8 @@ static const struct of_device_id rmnet_ipa_dt_match[] = {
MODULE_DEVICE_TABLE(of, rmnet_ipa_dt_match);

static const struct dev_pm_ops rmnet_ipa_pm_ops = {
	.suspend = rmnet_ipa_ap_suspend,
	.resume_noirq = rmnet_ipa_ap_resume,
	.suspend_late = rmnet_ipa_ap_suspend,
	.resume_early = rmnet_ipa_ap_resume,
};

static struct platform_driver rmnet_ipa_driver = {