deinterlace: deinterlace: fix coverity error [1/1]
authorJihong Sui <jihong.sui@amlogic.com>
Tue, 4 Dec 2018 09:51:39 +0000 (17:51 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 6 Dec 2018 10:54:52 +0000 (02:54 -0800)
commit1b8354dfbbdf70d75b35a44e89de377c8730206a
tree49f6de00b39f70e5c44359679c08a1b36000c9a5
parentafcf1763d30c237313515df60f75ae1bc210a67a
deinterlace: deinterlace: fix coverity error [1/1]

PD#SWPL-2863

Problem:
cdev_add without checking return value.

Solution:
add check

Verify:
p212

Change-Id: Ib1d96f6e5ee07dd28f67eb4ee77acb6580a1f877
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
drivers/amlogic/media/deinterlace/deinterlace.c