]> git.baikalelectronics.ru Git - kernel.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)
commit19af99c162996fd2c0e7994cbc1bd10be20b5cb4
treec4e65ded0ba1a569a6341faea28bb493e4382a45
parentcf739fb14d19747a05192443d08f2e1c679d6e28
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