dv: add more condition to reset the control path [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Sat, 24 Aug 2019 16:23:37 +0000 (00:23 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 27 Aug 2019 13:50:50 +0000 (06:50 -0700)
commit3ed4e4550150641eec81efd0b2823ae91382927d
tree9d478aaed7fcb45bbed073f0da48675163c28602
parent3b92eb4596ece442a777684c1e4dadd53615da71
dv: add more condition to reset the control path [1/1]

PD#SWPL-11314

Problem:
When playing profile 4, multiple resolution and dual layer dv
streaming, switching non-4k to 4K (DOVI->SDR), need do once
control path reset since the core1 setting is not correctly.

Solution:
Improve the condition to reset control path

Verify:
Verified on AC211

Change-Id: I229a33228377bd9ff7811b4a25e973eeba8af66d
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c