We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a061e7 commit b2b699dCopy full SHA for b2b699d
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