We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf2d755 commit f7ad5e2Copy full SHA for f7ad5e2
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
@@ -63,7 +63,7 @@
63
VOP_REG_SUPPORT(vop, win->phy->name)
64
65
#define VOP_WIN_SCL_EXT_SUPPORT(vop, win, name) \
66
- (win->phy->scl->ext && \
+ (win && win->phy && win->phy->scl && win->phy->scl->ext && \
67
VOP_REG_SUPPORT(vop, win->phy->scl->ext->name))
68
69
#define VOP_CTRL_SUPPORT(vop, name) \
0 commit comments