You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
video: rockchip: mpp: iep2: fix err log false print
Change-Id: I032a7a038839b6b5ff83d79f5880955608f90a62 Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
This commit is contained in:
@@ -893,9 +893,9 @@ static int iep2_init(struct mpp_dev *mpp)
|
||||
iep->roi.vaddr = dma_alloc_coherent(mpp->dev, iep->roi.size,
|
||||
&iep->roi.iova,
|
||||
GFP_KERNEL);
|
||||
if (iep->roi.vaddr) {
|
||||
if (!iep->roi.vaddr) {
|
||||
dev_err(mpp->dev, "allocate roi buffer failed\n");
|
||||
//return -ENOMEM;
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user