enable the pm_runtime, the power domains wil be disabled when
mqs is idle.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
#include <linux/moduleparam.h>
#include <linux/mfd/syscon.h>
#include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
+#include <linux/pm_runtime.h>
#include <linux/of.h>
#include <linux/pm.h>
#include <linux/slab.h>
}
dev_set_drvdata(&pdev->dev, mqs_priv);
+ pm_runtime_enable(&pdev->dev);
return snd_soc_register_codec(&pdev->dev, &soc_codec_fsl_mqs,
&fsl_mqs_dai, 1);