[ALSA] cs4231-lib: replace common delay loop by function
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Thu, 6 Sep 2007 13:03:59 +0000 (15:03 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 14:49:10 +0000 (16:49 +0200)
commit6c041b5eae5a3e5c950c1d99f59d907c680922d2
treeefcea2e397a3c2807f15042d9227d61d46335074
parent8e6a2c2ec9e7c99128425e6b73bea8437efd3a93
[ALSA] cs4231-lib: replace common delay loop by function

This patch replaces a common delay loop by a function.
It also uses ARRAY_SIZE macro for the rates table.
Acked-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/isa/cs423x/cs4231_lib.c