From c1d7a7f9cf674c878d4bcbfec7a6aee9d0498bf6 Mon Sep 17 00:00:00 2001 From: avatar Date: Sun, 26 Aug 2018 13:03:58 +0000 Subject: [PATCH] MFC r338038: Extending the delay cycles to give the codec more time to pump ADC data across the AC-link. Without this patch, some CS4614 cards will need users to reload the driver manually or the hardware won't be initialised properly. Something like: # kldload snd_csa # kldunload snd_csa # kldload snd_csa Tested with: Terratec SiXPack 5.1+ git-svn-id: svn://svn.freebsd.org/base/stable/10@338326 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/sound/pci/csa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/csa.c b/sys/dev/sound/pci/csa.c index 4a766e788..b9b065e13 100644 --- a/sys/dev/sound/pci/csa.c +++ b/sys/dev/sound/pci/csa.c @@ -713,7 +713,7 @@ csa_initialize(sc_p scp) * the codec is pumping ADC data across the AC-link. */ acisv = 0; - for (i = 0 ; i < 1000 ; i++) { + for (i = 0 ; i < 2000 ; i++) { /* * First, lets wait a short while to let things settle out a bit, * and to prevent retrying the read too quickly. -- 2.45.0