dv: do not use internal chip_id function by other modules [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Thu, 12 Dec 2019 06:46:40 +0000 (14:46 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 13 Dec 2019 09:27:54 +0000 (02:27 -0700)
commitb9f386fada58e2a6c0193c5fd4ecdc49cb0c4ac9
treeb1b704385bef10bfe25590cbdbd503380dec49db
parent6136278acbd535bff1f5e28822e64746ab12cb3d
dv: do not use internal chip_id function by other modules [1/1]

PD#SWPL-18367

Problem:
amcsc used the wrong chip_id function from dolby vision driver,
but at the time, the dv driver maybe did not probe. So got the
wrong chip id state.

Solution:
Using the common chip id function.

Verify:
Verifed by u212

Change-Id: If27e861a2c8d8a586448f33cbaa70a81cbe2370f
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
(cherry picked from commit e58914e153138fc9655961a6ec67680e12699710)
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c
drivers/amlogic/media/enhancement/amvecm/set_hdr2_v0.c
drivers/amlogic/media/video_sink/video_hw.c
include/linux/amlogic/media/amdolbyvision/dolby_vision.h