PD#148482: decoder: Fix decoder release cause encoder hang problem

Change-Id: If26312aa16e924c293fa39b265aba5ca219128e1
Signed-off-by: Yuxi Sun <yuxi.sun@amlogic.com>
This commit is contained in:
Yuxi Sun
2017-10-26 16:41:45 +08:00
committed by Dongjin Kim
parent e40a0e0b0c
commit e8c54a7ae6

View File

@@ -1579,7 +1579,6 @@ static int amstream_open(struct inode *inode, struct file *file)
/* TODO: mod gate */
/* switch_mod_gate_by_name("vdec", 1); */
amports_switch_gate("vdec", 1);
amports_switch_gate("clk_hcodec_mux", 1);
if (has_hevc_vdec()) {
if (port->type &
@@ -1729,7 +1728,6 @@ static int amstream_release(struct inode *inode, struct file *file)
/* TODO: mod gate */
/* switch_mod_gate_by_name("vdec", 0); */
amports_switch_gate("vdec", 0);
amports_switch_gate("clk_hcodec_mux", 0);
}
if (port->type & PORT_TYPE_AUDIO) {