Loading drivers/platform/msm/msm_11ad/msm_11ad.c +0 −8 Original line number Diff line number Diff line Loading @@ -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); Loading Loading @@ -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); Loading Loading @@ -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: Loading Loading @@ -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); Loading Loading
drivers/platform/msm/msm_11ad/msm_11ad.c +0 −8 Original line number Diff line number Diff line Loading @@ -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); Loading Loading @@ -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); Loading Loading @@ -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: Loading Loading @@ -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); Loading