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

Commit a88bcc8d authored by Connor McAdams's avatar Connor McAdams Committed by Takashi Iwai
Browse files

ALSA: hda/ca0132 - Fix microphone inconsistency issues



This patch fixes microphone inconsistency issues by adding a delay to
each setup_defaults function. Without this, the microphone only works
intermittently.

Signed-off-by: default avatarConnor McAdams <conmanx360@gmail.com>
Reviewed-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 40c51675
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -7223,6 +7223,8 @@ static void r3d_setup_defaults(struct hda_codec *codec)
	int num_fx;
	int idx, i;

	msleep(100);

	if (spec->dsp_state != DSP_DOWNLOADED)
		return;

@@ -7267,6 +7269,8 @@ static void sbz_setup_defaults(struct hda_codec *codec)
	int num_fx;
	int idx, i;

	msleep(100);

	if (spec->dsp_state != DSP_DOWNLOADED)
		return;

@@ -7324,6 +7328,8 @@ static void ae5_setup_defaults(struct hda_codec *codec)
	int num_fx;
	int idx, i;

	msleep(100);

	if (spec->dsp_state != DSP_DOWNLOADED)
		return;