video: mdss: Fix dual-DSI issue in LiveDisplay

* The second controller won't have it's own framebuffer, so don't
  dereference a NULL pointer.

Change-Id: I0cacbd0768a6a0f8e2ed934a8263aa75265f42b1
This commit is contained in:
Michael Bestas 2016-05-19 03:58:48 +03:00 committed by Joel16
parent ebc2d9146b
commit 97a0b13667

View File

@ -179,6 +179,9 @@ static void mdss_livedisplay_worker(struct work_struct *work)
if (mlc == NULL)
return;
if (mlc->mfd == NULL)
return;
ctrl_pdata = get_ctrl(mlc->mfd);
if (ctrl_pdata == NULL)
return;