]> bbs.cooldavid.org Git - net-next-2.6.git/commit - sound/pci/rme9652/hdsp.c
ALSA: hdsp - poll for iobox
authorTim Blechmann <tim@klingt.org>
Fri, 20 Feb 2009 18:30:35 +0000 (19:30 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Feb 2009 07:20:01 +0000 (08:20 +0100)
commite588ed8304f76cbb396ee85e657a58990298a675
tree8f87b81c85bd1c1caffa3256dba1f3dbcd81ed95
parent66a101dda6b26ee566aa9cadcbea904a41d2b268
ALSA: hdsp - poll for iobox

sleeping for 2 seconds before checking for the iobox is not enough
on some systems.
this patch increases the timeout, but polls the card during that
time. it thus speeds up the module loading when the card has already
been initialized, while being more robust on systems, which require
a higher timeout than the predefined 2 seconds.

Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdsp.c