]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: sis7019 - give slow codecs more time to reset
authorDavid Dillow <dave@thedillows.org>
Fri, 2 Dec 2011 04:26:53 +0000 (23:26 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 16 Jan 2013 21:45:02 +0000 (16:45 -0500)
commit50c8a5c24efdc2b15e2e11f8ce2cbe1284fb933e
tree10c59ad93cfebfbbb52118d8a1dd2ddac103fa19
parent675be1e1dacca2ade17771af82b8c948579a080b
ALSA: sis7019 - give slow codecs more time to reset

commit fc084e0b930d546872ab23667052499f7daf0fed upstream.

There are some AC97 codec and board combinations that have been observed
to take a very long time to respond after the cold reset has completed.
In one case, more than 350 ms was required. To allow users to have sound
on those platforms, we'll wait up to 500ms for the codec to become
ready.

As a board may have multiple codecs, with some faster than others to
reset, we add a module parameter to inform the driver which codecs
should be present.

Reported-by: KotCzarny <tjosko@yahoo.com>
Signed-off-by: David Dillow <dave@thedillows.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
sound/pci/sis7019.c