Merge "disp: msm: sde: check for null topology in dither setup path"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
5100a8e9e9
@@ -2550,8 +2550,9 @@ static void _sde_encoder_setup_dither(struct sde_encoder_phys *phys)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
topology = sde_connector_get_topology_name(phys->connector);
|
topology = sde_connector_get_topology_name(phys->connector);
|
||||||
if ((topology == SDE_RM_TOPOLOGY_PPSPLIT) &&
|
if ((topology == SDE_RM_TOPOLOGY_NONE) ||
|
||||||
(phys->split_role == ENC_ROLE_SLAVE))
|
((topology == SDE_RM_TOPOLOGY_PPSPLIT) &&
|
||||||
|
(phys->split_role == ENC_ROLE_SLAVE)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
drm_enc = phys->parent;
|
drm_enc = phys->parent;
|
||||||
|
Reference in New Issue
Block a user