From e8c54a7ae647b2ddffad0d9f93f85d35de8667ab Mon Sep 17 00:00:00 2001 From: Yuxi Sun Date: Thu, 26 Oct 2017 16:41:45 +0800 Subject: [PATCH] PD#148482: decoder: Fix decoder release cause encoder hang problem Change-Id: If26312aa16e924c293fa39b265aba5ca219128e1 Signed-off-by: Yuxi Sun --- drivers/amlogic/media_modules/stream_input/amports/amstream.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/amlogic/media_modules/stream_input/amports/amstream.c b/drivers/amlogic/media_modules/stream_input/amports/amstream.c index ea5be0fb0107..a2d4ba58d3ee 100644 --- a/drivers/amlogic/media_modules/stream_input/amports/amstream.c +++ b/drivers/amlogic/media_modules/stream_input/amports/amstream.c @@ -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) {