mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-23 04:00:20 +00:00
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:
parent
ebc2d9146b
commit
97a0b13667
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user