atv_demod: optimize calls with other modules [1/1]
authornengwen.chen <nengwen.chen@amlogic.com>
Thu, 22 Aug 2019 08:01:54 +0000 (16:01 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 23 Aug 2019 04:10:55 +0000 (21:10 -0700)
commit1c879d93ac3bc20a9288efb834dc34c173424fe4
treeba50f8eefc5db52aa4a1c8a91842176551f107d4
parent80866337ec470132d6976302548090a180483088
atv_demod: optimize calls with other modules [1/1]

PD#TV-9100

Problem:
1.optimize calls with other modules.

Solution:
1.optimize calls with other modules.
2.add ext file interacts with other modules.
3.add sync to prevent NULL pointer crashes.

Verify:
Verified by x301

Change-Id: Id1930400454b020616e0c669cae5f473f498b6de
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
drivers/amlogic/atv_demod/Makefile
drivers/amlogic/atv_demod/atv_demod_ext.c [new file with mode: 0644]
drivers/amlogic/atv_demod/atv_demod_ext.h [new file with mode: 0644]
drivers/amlogic/atv_demod/atv_demod_ops.c
drivers/amlogic/atv_demod/atv_demod_v4l2.c