static int tv_module_disable(vmode_t cur_vmod)
{
#if MESON_CPU_TYPE >= MESON_CPU_TYPE_MESON8
	if (info->vinfo) {
		release_vpu_clk_vmod(info->vinfo->mode);
		switch_vpu_mem_pd_vmod(info->vinfo->mode, VPU_MEM_POWER_DOWN);
	}
#endif
	//video_dac_disable();
	return 0;
}
Пример #2
0
static int tv_module_disable(enum vmode_e cur_vmod)
{
	if (get_cpu_type() < MESON_CPU_MAJOR_ID_M8)
		return 0;

#ifdef CONFIG_AML_VPU
	if (info->vinfo) {
		release_vpu_clk_vmod(info->vinfo->mode);
		switch_vpu_mem_pd_vmod(info->vinfo->mode, VPU_MEM_POWER_DOWN);
	}
#endif
	/* video_dac_disable(); */
	return 0;
}