osd: fixed osd coverity error [1/1]
authorPengcheng Chen <pengcheng.chen@amlogic.com>
Fri, 15 Nov 2019 08:42:05 +0000 (16:42 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 9 Dec 2019 12:10:33 +0000 (05:10 -0700)
commitd266ad6469838a64da5a527ad634e4bac942e7fa
tree0103c79717c0ceddc23fc8fb65446cafb99778ad
parent43859118a4d406ef168997812d87215e38407d33
osd: fixed osd coverity error [1/1]

PD#SWPL-13983

Problem:
fixed osd coverity error

Solution:
fixed osd coverity error

Verify:
coverity check

Change-Id: I5689930d4112493827dc07e22aa5d086dc2104d7
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
(cherry picked from commit 4efcc5b340309d92fb79c7d6f473931327436244)
drivers/amlogic/media/osd/osd_drm.c
drivers/amlogic/media/osd/osd_fb.c