mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge "disp: msm: sde: add null check for pingpong hw block"
This commit is contained in:
commit
9e60a4854b
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue