PD#SWPL-25656
Problem:
hevcf clk ref count error.
Solution:
fix sc2 hevc frone clock gate node name.
Verify:
AH219
Change-Id: I897b1ee4810e39fc2eebe095980c1ddea5250a27
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
(cherry picked from commit
5482101b4f327d9d27adf42cef6747e5f02a459e)
hcodec_clock_enable();
} else if (id == VDEC_HEVC) {
/* enable hevc clock */
- amports_switch_gate("clk_hevc_mux", 1);
+ if (get_cpu_major_id() >= AM_MESON_CPU_MAJOR_ID_SC2)
+ amports_switch_gate("clk_hevcf_mux", 1);
+ else
+ amports_switch_gate("clk_hevc_mux", 1);
if (get_cpu_major_id() >= AM_MESON_CPU_MAJOR_ID_G12A)
amports_switch_gate("clk_hevcb_mux", 1);
hevc_clock_hi_enable();