#include <soc/samsung/bts.h>
#include <soc/samsung/cal-if.h>
#include <linux/apm-exynos.h>
+#include <sound/samsung/abox.h>
+
struct exynos_pm_domain *exynos_pd_lookup_name(const char *domain_name)
{
struct exynos_pm_domain *exypd = NULL;
if(cal_pd_status(pd->cal_pdid) && pd->bcm)
bcm_pd_sync(pd->bcm, false);
#endif
+
+ if (!strcmp(pd->name, "pd-dispaud"))
+ abox_poweroff();
}
static void exynos_pd_power_off_post(struct exynos_pm_domain *pd)
#include <sound/pcm_params.h>
#include <sound/samsung/abox.h>
#include <sound/samsung/vts.h>
-//#include <linux/exynos_iovmm.h>
+#include <linux/exynos_iovmm.h>
#include <soc/samsung/exynos-pmu.h>
#include <soc/samsung/exynos-itmon.h>
abox_disable(dev);
- //exynos_sysmmu_control(dev, false);
+ exynos_sysmmu_control(dev, false);
}
static int abox_runtime_suspend(struct device *dev)
{
dev_dbg(dev, "%s\n", __func__);
- //p_abox_data->enabled = false;
- abox_disable(dev);
+ p_abox_data->enabled = false;
return 0;
}
{
dev_dbg(dev, "%s\n", __func__);
- //exynos_sysmmu_control(dev, true);
+ exynos_sysmmu_control(dev, true);
return abox_enable(dev);
}