mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user