mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
drm/rockchip: vop: fixup error handle on crtc register
Change-Id: I969a3994360331f4ce66e7affcc9ed3869599777 Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
@@ -2843,7 +2843,7 @@ static int vop_create_crtc(struct vop *vop)
|
||||
vop->lut = devm_kmalloc_array(dev, lut_len, sizeof(*vop->lut),
|
||||
GFP_KERNEL);
|
||||
if (!vop->lut)
|
||||
return -ENOMEM;
|
||||
goto err_unregister_crtc_funcs;
|
||||
|
||||
r_base = crtc->gamma_store;
|
||||
g_base = r_base + crtc->gamma_size;
|
||||
|
||||
Reference in New Issue
Block a user