Merge "disp: msm: sde: check for valid pointer before accessing" into display-kernel.lnx.5.10
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
07f20525c7
@@ -409,7 +409,7 @@ static void sde_encoder_phys_cmd_cont_splash_mode_set(
|
||||
&cmd_enc->autorefresh.cfg);
|
||||
}
|
||||
|
||||
if (hw_intf->ops.reset_counter)
|
||||
if (hw_intf && hw_intf->ops.reset_counter)
|
||||
hw_intf->ops.reset_counter(hw_intf);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user