diff options
author | Connor McAdams <conmanx360@gmail.com> | 2018-10-08 22:39:57 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-10-09 17:20:24 +0300 |
commit | a88bcc8d96817ec0329b9cb402749e3d0d59698f (patch) | |
tree | efdd73dc87f7f60a0cbc1abdadd056704639309e /sound/pci/hda/patch_ca0132.c | |
parent | 40c516757ba00bc17cae03fbb941c6fc131f698d (diff) | |
download | linux-a88bcc8d96817ec0329b9cb402749e3d0d59698f.tar.xz |
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: Connor McAdams <conmanx360@gmail.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_ca0132.c')
-rw-r--r-- | sound/pci/hda/patch_ca0132.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index b0985045ebed..12a3581190af 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -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; |