disp: msm: dp: correct the dp_panel instance used to enable audio
When DP_LINK_STATUS_UPDATED irq_hpd occurs, the mst audio instances are turned off, irq_hpd handled and audio instances are turned on again. While turning on, an audio instance different from the ones turned off is being sent, causing ops mismatches eventually leading to a NOC error. These changes will correct the pointer to the audio or the panel instances to match the ones that are turned off. Change-Id: Idd9c013fd64cd6db06bbec34f5083029e4ab522c Signed-off-by: Sankeerth Billakanti <sbillaka@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
This commit is contained in:

committed by
Tatenda Chipeperekwa

parent
3ce95ac68e
commit
3630628d0d
@@ -1166,7 +1166,7 @@ static void dp_audio_enable(struct dp_display_private *dp, bool enable)
|
|||||||
dp->link->link_params.bw_code;
|
dp->link->link_params.bw_code;
|
||||||
dp_panel->audio->lane_count =
|
dp_panel->audio->lane_count =
|
||||||
dp->link->link_params.lane_count;
|
dp->link->link_params.lane_count;
|
||||||
dp_panel->audio->on(dp->panel->audio);
|
dp_panel->audio->on(dp_panel->audio);
|
||||||
} else {
|
} else {
|
||||||
dp_panel->audio->off(dp_panel->audio);
|
dp_panel->audio->off(dp_panel->audio);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user