Merge "msm: mdss: Fix null pointer reference during debug init"
This commit is contained in:
commit
0380dc86d2
1 changed files with 4 additions and 2 deletions
|
@ -1816,8 +1816,10 @@ static int mdss_mdp_debug_init(struct platform_device *pdev,
|
|||
mdss_debug_register_dump_range(pdev, dbg_blk, "qcom,regs-dump-mdp",
|
||||
"qcom,regs-dump-names-mdp", "qcom,regs-dump-xin-id-mdp");
|
||||
|
||||
mdss_debug_register_io("vbif", &mdata->vbif_io, NULL);
|
||||
mdss_debug_register_io("vbif_nrt", &mdata->vbif_nrt_io, NULL);
|
||||
if (mdata->vbif_io.base)
|
||||
mdss_debug_register_io("vbif", &mdata->vbif_io, NULL);
|
||||
if (mdata->vbif_nrt_io.base)
|
||||
mdss_debug_register_io("vbif_nrt", &mdata->vbif_nrt_io, NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue