summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_spdif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl/fsl_spdif.c')
-rw-r--r--sound/soc/fsl/fsl_spdif.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c
index 08d75e6388ca..c691ae2b4284 100644
--- a/sound/soc/fsl/fsl_spdif.c
+++ b/sound/soc/fsl/fsl_spdif.c
@@ -18,7 +18,6 @@
#include <linux/of_irq.h>
#include <linux/regmap.h>
#include <linux/pm_runtime.h>
-#include <linux/pm_domain.h>
#include <linux/busfreq-imx.h>
#include <sound/asoundef.h>
@@ -1362,7 +1361,6 @@ static int fsl_spdif_probe(struct platform_device *pdev)
void __iomem *regs;
int irq, ret, i;
char tmp[16];
- int num_domains = 0;
if (!np)
return -ENODEV;
@@ -1428,24 +1426,6 @@ static int fsl_spdif_probe(struct platform_device *pdev)
}
}
- num_domains = of_count_phandle_with_args(np, "power-domains",
- "#power-domain-cells");
- for (i = 0; i < num_domains; i++) {
- struct device *pd_dev;
- struct device_link *link;
-
- pd_dev = dev_pm_domain_attach_by_id(&pdev->dev, i);
- if (IS_ERR(pd_dev))
- return PTR_ERR(pd_dev);
-
- link = device_link_add(&pdev->dev, pd_dev,
- DL_FLAG_STATELESS |
- DL_FLAG_PM_RUNTIME |
- DL_FLAG_RPM_ACTIVE);
- if (IS_ERR(link))
- return PTR_ERR(link);
- }
-
for (i = 0; i < STC_TXCLK_SRC_MAX; i++) {
sprintf(tmp, "rxtx%d", i);
spdif_priv->txclk[i] = devm_clk_get(&pdev->dev, tmp);