Pārlūkot izejas kodu

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 <[email protected]>
Signed-off-by: Tatenda Chipeperekwa <[email protected]>
Sankeerth Billakanti 5 gadi atpakaļ
vecāks
revīzija
3630628d0d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      msm/dp/dp_display.c

+ 1 - 1
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);
 			}