Commit Graph

653370 Commits

Author SHA1 Message Date
MingLiang Dong
5ffd77d70d amvecm: cm parameters curve is wrong after disable/enable [1/1]
PD#SWPL-3809

Problem:
cm parameters curve is wrong after disable/enable

Solution:
TV cm parameters from pq db, don't need set by kernel

Verify:
verify on TL1

Change-Id: I9c87c414e009d04c6a4fdf8caf8e9bb429376d56
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-07-23 17:52:49 +09:00
MingLiang Dong
9901bddd3f amvecm: local contrast default low effect parameters [1/1]
PD#SWPL-3779

Problem:
local contrast default parameters is too high

Solution:
local contrast default low effect parameters

Verify:
verify on TL1

Change-Id: Ib7ec9c03284a68057f8cf245a2be8ad2e81c0af3
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-07-23 17:52:49 +09:00
MingLiang Dong
aa3f89c79f amvecm: Flash a horizontal line when enable local contrast function [1/1]
PD#SWPL-3563

Problem:
1.Flash a horizontal line in the bottom of the screen in
HDMI with 4K 50/60Hz signal after enable local contrast function
2.local contrast block is obvious when platform reboot

Solution:
1.Local contrast write curve with RDMA
2.lc init reset lc module

Verify:
verify on TL1

Change-Id: Ifd4218e3688d5b0728a6fcba81558467a1c3e05f
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-07-23 17:52:49 +09:00
Shaochan Liu
96a3556ea5 lcd: The panel's backlight is not stable with VAD enabled platform [1/1]
PD#SWPL-3713

Problem:
The panel's backlight is not stable when
enter standby mode after do suspend with
VAD enabled platform

Solution:
bypass undefind resume in lcd resume early

Verify:
verify by t962x2-x301

Change-Id: I8f040de9bebf3ccbdd3b2da3a46540fe676958f6
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
2019-07-23 17:52:49 +09:00
Bencheng Jing
3b19be11e0 amvecm: disable gamma init in aml_vecm_probe [1/1]
PD#SWPL-3143

Problem:
boot logo stretched

Solution:
disable gamma init in aml_vecm_probe

Verify:
x301

Change-Id: I01a5bb609536edd2875ecad0613565a8382f9aef
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
Zhiwei Yuan
243604ec6b dtv_demod: TL1 dtmb cma allocate fail after dtmb->dvbc->dtmb by cmd [1/1]
PD#TV-1748

Problem:
[Hisense-T962X2-P-customer-DTV]:Failed to lock frequency in dtmb system

Solution:
leave the last mode before enter current mode to release the resources

Verify:
verified by t962x2_x301

Change-Id: Ibd7e1d4c67f5a5ad2191e0031fdd0b81812c8606
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
2019-07-23 17:52:49 +09:00
Shaochan Liu
700e4b3c00 lcd: modify lcd/power show debug node [1/1]
PD#SWPL-1005

Problem:
modify lcd/power show debug node

Solution:
1,modify lcd/power node to show lcd power on/off

Verify:
verified by t962x_r311

Change-Id: Ic2b293ac14a3139b572a2e36ac101f9f54da2139
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
2019-07-23 17:52:49 +09:00
Xing Wang
08e8d84006 audio: fix no sound when atv switch to other source [1/1]
PD#SWPL-3440

Problem:
ATV switch to other source, such as DTV/HDMI/AV, no sound

Solution:
ATV switch to other source, atv demond is disabled when
audio is reading data, so it's blocked.
In normal, ATV sends audio data to FRATV,
then FRATV sends data to audio fifo, then to DDR.
If ATV stops to send audio data, no interrupt from FRATV to fifo,
no data is updated to DDR.
When exit from audio atv patch, it's a block signal to
wait in_read finished, but ATV is disabled
TimeCheckThread will check any routine is blocked,
if there is one, signal SIGABRT would rise and cause audio server restart
So we  make a delay before ATV is disabled to waiting audio data is readed.

Verify:
x301

Change-Id: I47dc88d2c8565c16c739ffea69a88152fa4d5f13
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2019-07-23 17:52:49 +09:00
Nian Jing
4f599b2559 tvafe: fix black border for atv [1/1]
PD#SWPL-3573

Problem:
appear black border after unplug/plug signal

Solution:
reset de when nosignal
restore acd hsync when signal unstable

Verify:
verified by x301

Change-Id: Ia9e2e9dfb326061bd3b9b6f9a02be0d935cdf06f
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
Shaochan Liu
d5795f825f backlight: pwm combo policy bug with level range [2/2]
PD#TV-1488

Problem:
when only use one pwm, pwm combo policy has a bug with
level range

Solution:
modify level range check demo when set bl level

Verify:
verify by T962X2-X301

Change-Id: Ia5a0b12fa96f0f77ed85f6f70ed796203ea32a20
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
2019-07-23 17:52:49 +09:00
Xuhua Zhang
02a59dfabc tvin: vdin: fix afbce 576p color anomaly [1/1]
PD#SWPL-3424

Problem:
dvd play 576p media, tl1 display color anomaly

Solution:
encoder use same default color setting with decoder

Verify:
x301

Change-Id: I8954874ea048b2d9e9b7aa58c883da1f306c4459
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2019-07-23 17:52:49 +09:00
Xuhua Zhang
86393c1ef0 tvin: vdin: fix afbce 4k yuv444 display error [1/1]
PD#SWPL-3429

Problem:
vdin output format is afbce 4k yuv444,it display ghost shadow of image

Solution:
add afbce comb control

Verify:
x301

Change-Id: I168f13994a4929bd227ba70b006f259ac0726238
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2019-07-23 17:52:49 +09:00
Yi Zeng
8d233ed552 mtd: nand: support new slc nand [1/1]
PD#SWPL-3542

Problem:
2Gb SLC Nand ZDND2G08U3D-IA requested by Marketing
aka ZDND2GXXXXX module number

Solution:
add the nand id and MFR id into amlogic id table
adapt it's bad block identification

Verify:
AXG_S400

Change-Id: I6f0e2caf424e09c1f186beb42a146d92b675f161
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
2019-07-23 17:52:49 +09:00
Shaochan Liu
585580816c backlight: add backlight pwm debug node for tvapi [1/1]
PD#SWPL-3110

Problem:
add backlight pwm debug node for tvapi

Solution:
1,change pwm node for pwm main parameters(duty, freq, pol)
2,add pwm_info node to display all pwm state

Verify:
verified by t962x_r311

Change-Id: Ibd9575412ca9704a0002073679d19c5426c1838c
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
2019-07-23 17:52:49 +09:00
Evoke Zhang
11fe2d13cd backlight: ldim_global demo can't power on [1/1]
PD#SWPL-3293

Problem:
select UHD_2RG_LDIM model_name,
then the backlight can't power on.

Solution:
fix ldim dev_drv add mistake

Verify:
r311

Change-Id: I7f86d6072524a2a6399a8259dae8c27a89a79b85
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-07-23 17:52:49 +09:00
Nian Jing
f78f1b4e6c tvafe: fix av pal flash issue on some devices [1/1]
PD#SWPL-2636

Problem:
Picture flash when av connect some dvd or mbox

Solution:
Modify the vafe ctrl config

Verify:
verified by x301

Change-Id: Ie6ae659f3f59d7daba680e2bb32112031232c956
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
Shaochan Liu
f5d31c5457 lcd: add lcd resume alarm filter function [1/1]
PD#SWPL-3362

Problem:
add lcd resume alarm filter function

Solution:
add lcd resume alarm filter function

Verify:
verified by t962x_r311

Change-Id: Ia4c219c76d253b4ecc16784193dc06a164d7a217
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
2019-07-23 17:52:49 +09:00
Shaochan Liu
445dbd8d19 backlight: add backlight brightness debug function [2/2]
PD#SWPL-1005

Problem:
add backlight brightness debug function

Solution:
1,add brightness_level node to change backlight brightness
2,add brightness_bypass node to change brightness_bypass

Verify:
verified by t962x_r311

Change-Id: I8faae0d08b2a15fdc5c5a507c0c6815843be59ab
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
2019-07-23 17:52:49 +09:00
Qianggui Song
2e24b4e2e1 ir: add toshiba protocol support [1/1]
PD#SWPL-3543

Problem:
current driver does not support toshiba ir remote control protocol

Solution:
add register setting and decode code for toshiba protocol
use REMOTE_TYPE_TOSHIBA/REMOTE_TYPE_NEC_TOSHIBA to configure toshiba
only/toshiba and nec.

Verify:
tl1_t962x2_x301

Change-Id: Idad70c3879fad6e8267f0c4d80d2447c34114103
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2019-07-23 17:52:49 +09:00
Shaochan Liu
1b786cdda3 lcd: add lcd/power debug node [1/2]
PD#SWPL-1005

Problem:
add lcd/power debug node

Solution:
1,add lcd/power node to control lcd power on/off sequence
2,change old lcd/power to lcd/power_step

Verify:
verified by t962x_r311

Change-Id: I0b10caa4cbd8f7ce489f3ceef7780dba2e0b00dc
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
2019-07-23 17:52:49 +09:00
Tao Zeng
24e88ebf9c dts: change CMA layout [1/1]
PD#SWPL-1909

Problem:
On 32bit kernel, codec cma is located in normal zone by
"alloc-ranges" parameter with large size. This takse up
memory space for kernel and drivers. Sometimes we can see
memory allocation fail log but there are still enought
free pages. But most of these pages are CMA pages.

Solution:
Move codec cma location to high memzone. On 32bit, low
768MB memory is normal zone.
This change also correct first 1MB memory lost problem
for chips later than TXLX

Verify:
TL1 x301/x309/socket board

Change-Id: I2fc62ae8b03143cc91bfecc62c123d1925aac482
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-07-23 17:52:49 +09:00
Jiacheng Mei
28427bb2c1 amlvideo2: reduce vfq size to avoid mem out-of-bounds [1/1]
PD#SWPL-3355

Problem:
vfq size large than kmalloc mem

Solution:
reduce vfq size to kmalloc mem size

Verify:
T962X-R311

Change-Id: Ibbc0c0219d6f170b4169d76e57419cdeb354f7fe
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
2019-07-23 17:52:49 +09:00
Bencheng Jing
e0b3f792fb amvecm: malloc local contrast to enable lc function [1/1]
PD#SWPL-3419

Problem:
enable local contrast function

Solution:
enable local contrast function

Verify:
x301

Change-Id: I6a1daa7c82224956614b4da46078efdd66424b82
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
Jian Hu
cdd8165c07 clk: txl: fix gpu clock can not be changed [1/1]
PD#SWPL-2909

Problem:
The gpu clock rate can not be changed.

Solution:
1.it called meson_init_gpu function which used by txlx
  in txl clock driver, change it to meson_txl_gpu_init function.
2.the /sys/kernel/debug/aml_clk/clk_test node can not work
  in txl platform, Initial value for clk_numbers which needed
  by clk_test driver.

Verify:
test passed on P321

Change-Id: Iade63691edf5b39325f34abb4789d48d33339329
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2019-07-23 17:52:49 +09:00
Sandy Luo
8be18d21bf dts: tl: add tuner support [1/1]
PD#OP-6

Problem:
Tuner cann't work on tl1 socket board

Solution:
add tuner in dts

Verify:
test pass on tl1 socket board

Change-Id: I49d70c3ab3c3747000faf40cd06bdb368231311e
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
2019-07-23 17:52:49 +09:00
Bencheng Jing
ecb0a2e247 amvecm: fix platform boot failed [1/1]
PD#SWPL-3276

Problem:
platform boot failed except TL1

Solution:
protect LC  register read and Write

Verify:
R311&P321

Change-Id: I9b93a1c28cdef43db8f1c5ad46bd6597bc62a1bc
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
Bencheng Jing
80e3c76bad amvecm: add local contrast iir SW algorithm [1/1]
PD#SWPL-2587

Problem:
local contrast SW algorithm

Solution:
add local contrast SW iir algorithm support

Verify:
x301

Change-Id: I8c80ce3fa5252585d5dd4a15e72beb9c0bfd5d7f
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
Qiufang Dai
8430f6386c suspend: remote: do not do suspend action under freeze mode [1/1]
PD#SWPL-2399

Problem:
Miss IR (power) key value when wakeup from freeze.

Solution:
Do not suspend/resume IR device under freeze mode

Verify:
x301_tl1

Change-Id: I7bdf0b847fa1a8b96bb2896426e15faf8143e820
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
2019-07-23 17:52:49 +09:00
zhiqiang liang
1b1517de6f suspend: power: plug off the secondary cpus for freeze mode [1/1]
PD#SWPL-2399

Problem:
freeze mode can not kill the secondary cpus

Solution:
move the cpu kill function before the freeze function

Verify:
tl1 test success

Change-Id: I1da7cb8bcd800b8372fd152490eadd4ef3866ece
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
2019-07-23 17:52:49 +09:00
Xuhua Zhang
fc4c5d6c36 tvin: vdin: vdin add afbce write back to memory interface [1/1]
PD#SWPL-3200

Problem:
vdin add afbce need more debug method.

Solution:
vdin add read_pic_afbce debug interface

Verify:
TL1 X301

Change-Id: I45a741ba20409dc25b41ce316b0df0dce9d2dc28
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2019-07-23 17:52:49 +09:00
Xuhua Zhang
a48c7fec05 tvin: vdin: fix vdin CMA layout adaptation [1/1]
PD#SWPL-2526

Problem:
1.CMA layout adaptation cause crash
2.vdin buff dump error
3.read_pic error

Solution:
1.codec mm has be moved to high memory area,
	we should map memory use vmap.
2.make vdin high mem and low mem to be compatible
	when we dump vdin buff.
3.fix read_pic bug.

Verify:
TXLX R311

Change-Id: I90e4f46ba91d38c6ce0f8bfd65b5c22e6be3b83f
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2019-07-23 17:52:49 +09:00
Zhongfu Luo
5652f1fed3 dts: GXL: defendkey: modify reserve memory mode [2/2]
PD#SWPL-2100

Problem:
GXL need to modify reserve memory mode

Solution:
remove defendkey reserved memory in GXL dts

Verify:
GXL skt board verify pass

Change-Id: Ie5ed01c6dd8f88c5594d6bc73f13282e535071a2
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2019-07-23 17:52:49 +09:00
MingLiang Dong
506c54de4b amvecm: add color primary get ioctrl [1/1]
PD#TV-1463

Problem:
new interface

Solution:
add color primary get ioctrl

Verify:
verify on TL1

Change-Id: I0d4880b6a224be153e80b3eeb11bb5a0352f9ed5
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-07-23 17:52:49 +09:00
Zhongfu Luo
aa8f5ff77d dts: TXLX: defendkey: support secure upgrade check [3/3]
PD#SWPL-2344

Problem:
TXLX need to support secure upgrade check

Solution:
add defendkey support in all TXLX dts

Verify:
TXLX skt board verify pass

Change-Id: Ice348161f0a01698bc40e9fb291d1020f478b1fa
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2019-07-23 17:52:49 +09:00
Sandy Luo
970b7d39c8 dts: sync difference between arch32 and arch64 [1/1]
PD#SWPL-959

Problem:
sync arch32 and arch64 dts.

Solution:
sync arch32 and arch64 dts.

Verify:
r311

Change-Id: Id411e7dddad0491b16149fe33847e9e282d81a97
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
2019-07-23 17:52:49 +09:00
Wenfeng Guo
e039ad7179 deinterlace: open pulldown_enable debug node [1/1]
PD#SWPL-3003

Problem:
pulldown_enable constraintd by DEBUG_SUPPORT

Solution:
open pulldown_enable debug node

Verify:
TL1

Change-Id: Ib0a39a718f5e0f171bf9c1d850912bf4afa6a9d5
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
2019-07-23 17:52:49 +09:00
Evoke Zhang
df7c217b7f backlight: ldim: add fault reset handle for iw7027 [1/1]
PD#SWPL-1161

Problem:
sometims iw7027 work failure, need reset to recovery

Solution:
add reset handler triggered by fault pin

Verify:
txlx r311

Change-Id: I9c65f0b982ac5e52ff9bd5e43f9df516df2af184
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-07-23 17:52:49 +09:00
Tao Zeng
d369600226 ddr: add bandwidth measure support for TL1 [1/1]
PD#SWPL-2980

Problem:
ddr bandwidth measure is not enabled on TL1

Solution:
Add port config and dtsi for TL1

Verify:
t962x2_x301

Change-Id: I1fa932a179586f48e3698c53975b64b204a83731
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-07-23 17:52:49 +09:00
Jihong Sui
a47d1ee552 deinterlace: add NR 5 line set for TL1 [1/1]
PD#SWPL-2850

Problem:
add NR 5 line set for TL1

Solution:
add NR setting

Verify:
TL1

Change-Id: Iba105103a38ec244190f7cefbe66e7d662c7d0a2
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2019-07-23 17:52:49 +09:00
Jiacheng Mei
1ed022f6b9 dts: reduce isp memory usage for buildroot [1/1]
PD#SWPL-2512

Problem:
isp reserved mem too large

Solution:
reduce isp mem to 256M

Verify:
g12b-buildroot

Change-Id: I8e18f7618a069b43fa288221bca1943d5c3ebcc2
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
2019-07-23 17:52:49 +09:00
Bencheng Jing
3582d2ba3f amvecm: pq: lc: add debug interface [1/1]
PD#SWPL-2583

Problem:
add debug interface

Solution:
add lc reg lut dump and write interface
add demo mode
add dump hist interface
add dump curve node interface

Verify:
x301

Change-Id: I85be40f76f252bbaa2ffc69710cc7158ed91bbc4
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
Nian Jing
6f69cb0290 vdac: close vdac bandgap for suspend power [1/1]
PD#SWPL-2643

Problem:
cvbsout electric current 1.97mA when suspend

Solution:
close bandgap when suspend

Verify:
verified by x301

Change-Id: I6b87ecd42b0f7876fea18c400f19ddc2d4a7665e
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
tao zeng
92492e5ccd display: fix logo address missmatch problem [1/1]
PD#TV-1083

Problem:
When bootimg, logo display become blur due to logo address
is not match

Solution:
Correct CMA address of logo

Verify:
p321

Change-Id: I3996635c4fc9cee1751c75aff3f8224adb2accde
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2019-07-23 17:52:49 +09:00
Xuhua Zhang
dc4f8f9928 tvin: vdin: hdmirx format change, display exception [1/1]
PD#SWPL-2411

Problem:
hdmirx input 4096X2160 yuv422 in a short period of time,
formate change form yuv422 to yuv444, screen display is exception.

Solution:
force malloc yuv444 size

Verify:
Verify on txlx r311

Change-Id: Ie670b9a2b0c1eceffe423a1cf8606e78b6b347cd
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2019-07-23 17:52:49 +09:00
Zhongfu Luo
7fc8579470 dts: GXL/TXL: adjust defendkey_reserved location [1/1]
PD#SWPL-2539

Problem:
defendkey_reserved have influenced on display
during the system boot up

Solution:
adjust defendkey_reserved node location

Verify:
GXL/TXL skt board verify pass

Change-Id: I5cf0245f9653e20224c4e3bab1f6f05527011210
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2019-07-23 17:52:49 +09:00
Jian Cao
b587e2aeef osd: osd: reserve vs_ctrl bit for VPP [1/1]
PD#172587

Problem:
reserve vs_ctrl bit for VPP

Solution:
Avoid operating VPP_OFIFO_SIZE bit19 on OSD code

Verify:
verified on t962x2_x301

Change-Id: Ic450d6f64e2349d97d02f0802058b4031564fea4
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2019-07-23 17:52:49 +09:00
Bencheng Jing
8236b06010 amvecm: pq: lc: update local contrast setting [1/1]
PD#172587

Problem:
update lc setting

Solution:
update lc setting
add demo mode

Verify:
verified on ref board x301

Change-Id: Ie1542af5e4d8e4fe2c52bd04db66cbdf9130853f
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
Hang Cheng
1d429745f5 hdmirx: optimize for audio fifo [1/1]
PD#SWPL-2114

Problem:
When change audio channel count on VG-877, the subpkts of skipped
middle channels are still carried, thus causing afifo overflow

Solution:
When afifo overflow, then store all audio subpkts(8ch)
into afifo, and output 8ch audio from afifo

Verify:
R321

Change-Id: I4b0933935d3a1aed20be10a7a8d3fe23c3a39323
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2019-07-23 17:52:49 +09:00
Nanxin Qin
32a28ad857 dts: the memory of the reserved 1MB was recovered. [1/1]
PD#SWPL-2250

Problem:
h265 & vp9 4K playback abnormal because HEVC FRONT &
VPU READ2 pollute the phy address of near 0x0.

Solution:
it's only a temporary modification, the real reason
needs to take more time fixed.

Verify:
U212

Change-Id: I3dcc47f8979960e95c89cf53fe10eadc1a7ae5ad
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
2019-07-23 17:52:49 +09:00
Peng Yixin
a5cf243d5d media: fix some coverity error: [1/1]
PD#SWPL-2053

Problem:
Coverity detected some code defects.

Solution:
Fixed these code defects.

Verify:
Verified u212

Change-Id: Ie3c0907c7ee3db94f65f58aa5d5c96812a7fe38c
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
2019-07-23 17:52:49 +09:00