aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/intel_mid_i2s/intel_mid_i2s.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/intel_mid_i2s/intel_mid_i2s.c')
-rw-r--r--sound/pci/intel_mid_i2s/intel_mid_i2s.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/intel_mid_i2s/intel_mid_i2s.c b/sound/pci/intel_mid_i2s/intel_mid_i2s.c
index c206d406c5b..95967cb7b73 100644
--- a/sound/pci/intel_mid_i2s/intel_mid_i2s.c
+++ b/sound/pci/intel_mid_i2s/intel_mid_i2s.c
@@ -1533,10 +1533,9 @@ static int intel_mid_i2s_probe(struct pci_dev *pdev,
dev_err(&pdev->dev, "can not get IRQ. status err=%d\n", status);
goto err_i2s_probe3;
}
-
+ pm_runtime_set_active(&(drv_data->pdev->dev));
pm_runtime_enable(&(drv_data->pdev->dev));
pm_runtime_allow(&(drv_data->pdev->dev));
- pm_runtime_set_active(&(drv_data->pdev->dev));
pm_request_idle(&(drv_data->pdev->dev));
goto leave;