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

Commit 127ddf7c authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "platform/msm: fix audio codec function pointer update" into msm-4.14

parents 969a6728 11dab54c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -246,7 +246,9 @@ static int msm_ext_disp_update_audio_ops(struct msm_ext_disp *ext_disp,

		pr_debug("codec ops set for %s\n", msm_ext_disp_name(type));
	} else if (state == EXT_DISPLAY_CABLE_DISCONNECT) {
		*ext_disp->ops = (struct msm_ext_disp_audio_codec_ops){NULL};
		if (ext_disp->ops)
			*ext_disp->ops =
				(struct msm_ext_disp_audio_codec_ops){NULL};
		ext_disp->current_disp = EXT_DISPLAY_TYPE_MAX;

		pr_debug("codec ops cleared for %s\n", msm_ext_disp_name(type));