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

Commit e20f1446 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm_11ad: remove msm PCIe shadow control"

parents 066fc818 480942b4
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -569,8 +569,6 @@ static int msm_11ad_suspend_power_off(void *handle)

	pcidev = ctx->pcidev;

	msm_pcie_shadow_control(ctx->pcidev, 0);

	rc = pci_save_state(pcidev);
	if (rc) {
		dev_err(ctx->dev, "pci_save_state failed :%d\n", rc);
@@ -609,8 +607,6 @@ static int ops_suspend(void *handle, bool keep_device_power)

	pcidev = ctx->pcidev;

	msm_pcie_shadow_control(pcidev, 0);

	dev_dbg(ctx->dev, "disable device and save config\n");
	pci_disable_device(pcidev);
	pci_save_state(pcidev);
@@ -659,8 +655,6 @@ static int msm_11ad_resume_power_on(void *handle)
		pci_load_saved_state(ctx->pcidev, ctx->pristine_state);
	pci_restore_state(ctx->pcidev);

	msm_pcie_shadow_control(ctx->pcidev, 1);

	return 0;

err_disable_power:
@@ -704,8 +698,6 @@ static int ops_resume(void *handle, bool device_powered_on)
		goto out;
	}

	msm_pcie_shadow_control(pcidev, 1);

	dev_dbg(ctx->dev, "pci set master\n");
	pci_set_master(pcidev);