From 3630628d0d75ec48d60828745130e98e89cb8683 Mon Sep 17 00:00:00 2001 From: Sankeerth Billakanti Date: Sat, 21 Dec 2019 15:06:55 +0530 Subject: [PATCH] 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 Signed-off-by: Tatenda Chipeperekwa --- msm/dp/dp_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm/dp/dp_display.c b/msm/dp/dp_display.c index a3c9f6a7317f..1866eeed54ea 100644 --- a/msm/dp/dp_display.c +++ b/msm/dp/dp_display.c @@ -1166,7 +1166,7 @@ static void dp_audio_enable(struct dp_display_private *dp, bool enable) dp->link->link_params.bw_code; dp_panel->audio->lane_count = dp->link->link_params.lane_count; - dp_panel->audio->on(dp->panel->audio); + dp_panel->audio->on(dp_panel->audio); } else { dp_panel->audio->off(dp_panel->audio); }