Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e117bf0d authored by Sankeerth Billakanti's avatar Sankeerth Billakanti
Browse files

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: default avatarSankeerth Billakanti <sbillaka@codeaurora.org>
parent 725f6cc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1123,7 +1123,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);
			}