Merge "disp: msm: dp: enable aux switch from display HPD handler"
This commit is contained in:

zatwierdzone przez
Gerrit - the friendly Code Review server

commit
ba03a764fe
@@ -1220,6 +1220,15 @@ static int dp_display_process_hpd_high(struct dp_display_private *dp)
|
||||
dp->dp_display.max_pclk_khz = min(dp->parser->max_pclk_khz,
|
||||
dp->debug->max_pclk_khz);
|
||||
|
||||
if (!dp->debug->sim_mode && !dp->no_aux_switch && !dp->parser->gpio_aux_switch
|
||||
&& dp->aux_switch_node) {
|
||||
rc = dp->aux->aux_switch(dp->aux, true, dp->hpd->orientation);
|
||||
if (rc) {
|
||||
mutex_unlock(&dp->session_lock);
|
||||
return rc;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* If dp video session is not restored from a previous session teardown
|
||||
* by userspace, ensure the host_init is executed, in such a scenario,
|
||||
|
Reference in New Issue
Block a user