Merge "disp: msm: dp: fix locking in hotplug processing"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
d31d35ca72
@@ -851,8 +851,7 @@ static int dp_display_process_hpd_high(struct dp_display_private *dp)
|
|||||||
if (dp_display_state_is(DP_STATE_CONNECTED)) {
|
if (dp_display_state_is(DP_STATE_CONNECTED)) {
|
||||||
DP_DEBUG("dp already connected, skipping hpd high\n");
|
DP_DEBUG("dp already connected, skipping hpd high\n");
|
||||||
mutex_unlock(&dp->session_lock);
|
mutex_unlock(&dp->session_lock);
|
||||||
rc = -EISCONN;
|
return -EISCONN;
|
||||||
goto end;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dp_display_state_add(DP_STATE_CONNECTED);
|
dp_display_state_add(DP_STATE_CONNECTED);
|
||||||
|
@@ -1122,7 +1122,7 @@ static int dp_link_process_link_status_update(struct dp_link_private *link)
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
DP_DEBUG("channel_eq_done = %d, clock_recovery_done = %d\n",
|
DP_DEBUG("channel_eq_done = %d, clock_recovery_done = %d\n",
|
||||||
drm_dp_clock_recovery_ok(link->link_status,
|
drm_dp_channel_eq_ok(link->link_status,
|
||||||
link->dp_link.link_params.lane_count),
|
link->dp_link.link_params.lane_count),
|
||||||
drm_dp_clock_recovery_ok(link->link_status,
|
drm_dp_clock_recovery_ok(link->link_status,
|
||||||
link->dp_link.link_params.lane_count));
|
link->dp_link.link_params.lane_count));
|
||||||
|
Reference in New Issue
Block a user