1
0

Merge "disp: msm: sde: add null check for pingpong hw block"

Este cometimento está contido em:
qctecmdr
2019-09-30 13:12:15 -07:00
cometido por Gerrit - the friendly Code Review server
ascendente 35048b5165 7ba937c3ea
cometimento 9e60a4854b

Ver ficheiro

@@ -777,8 +777,8 @@ void sde_encoder_helper_update_intf_cfg(
struct sde_hw_intf_cfg_v1 *intf_cfg;
enum sde_3d_blend_mode mode_3d;
if (!phys_enc) {
SDE_ERROR("invalid arg, encoder %d\n", !phys_enc);
if (!phys_enc || !phys_enc->hw_pp) {
SDE_ERROR("invalid args, encoder %d\n", !phys_enc);
return;
}