]> git.karo-electronics.de Git - karo-tx-linux.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)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Dec 2011 09:43:06 +0000 (10:43 +0100)
commitfc084e0b930d546872ab23667052499f7daf0fed
treec4e65ded0ba1a569a6341faea28bb493e4382a45
parentcf54d47c13c2b171f946289de445102c676d4258
ALSA: sis7019 - give slow codecs more time to reset

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>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/sis7019.c