mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:11:14 -04:00
Merge "disp: msm: dp: fix dp-mst stream double disabled issue"
This commit is contained in:
commit
d0e92b2a26
1 changed files with 6 additions and 0 deletions
|
|
@ -1257,6 +1257,12 @@ static void dp_display_stream_disable(struct dp_display_private *dp,
|
|||
return;
|
||||
}
|
||||
|
||||
if (dp_panel->stream_id == DP_STREAM_MAX ||
|
||||
!dp->active_panels[dp_panel->stream_id]) {
|
||||
DP_ERR("panel is already disabled\n");
|
||||
return;
|
||||
}
|
||||
|
||||
DP_DEBUG("stream_id=%d, active_stream_cnt=%d\n",
|
||||
dp_panel->stream_id, dp->active_stream_cnt);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue