svn commit: r338328 - stable/8/sys/dev/sound/pci
Tai-hwa Liang
avatar at FreeBSD.org
Sun Aug 26 13:06:58 UTC 2018
Author: avatar
Date: Sun Aug 26 13:06:57 2018
New Revision: 338328
URL: https://svnweb.freebsd.org/changeset/base/338328
Log:
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+
Modified:
stable/8/sys/dev/sound/pci/csa.c
Directory Properties:
stable/8/ (props changed)
stable/8/sys/ (props changed)
stable/8/sys/dev/ (props changed)
stable/8/sys/dev/sound/ (props changed)
stable/8/sys/dev/sound/pci/ (props changed)
Modified: stable/8/sys/dev/sound/pci/csa.c
==============================================================================
--- stable/8/sys/dev/sound/pci/csa.c Sun Aug 26 13:05:12 2018 (r338327)
+++ stable/8/sys/dev/sound/pci/csa.c Sun Aug 26 13:06:57 2018 (r338328)
@@ -719,7 +719,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.
More information about the svn-src-stable-8
mailing list