vdin: add dolby mem release protection [1/1]
authorEvoke Zhang <evoke.zhang@amlogic.com>
Tue, 21 May 2019 09:23:57 +0000 (17:23 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 22 May 2019 11:39:10 +0000 (04:39 -0700)
commit3e859c8b9ad18f141042d8ad879c3859247c2a39
tree6df9ad49326a535cbd96c351a7c93ad4a6af6179
parent94b0dc8af4eaacae3ae665b198c4f0ca50e33c36
vdin: add dolby mem release protection [1/1]

PD#SWPL-8797

Problem:
sometime oops occurred for vdin_dolby mem release

Solution:
add vdin dolby mem alloc flag & release protection

Verify:
x301

Change-Id: Iee90b58a0624c32032e204adcd043c8e94d03f1f
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
drivers/amlogic/media/vin/tvin/vdin/vdin_ctl.c
drivers/amlogic/media/vin/tvin/vdin/vdin_drv.h