ALSA: wss_lib: rework snd_ad1848_probe()
authorRene Herman <rene.herman@gmail.com>
Wed, 6 Aug 2008 06:09:34 +0000 (08:09 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 6 Aug 2008 13:40:31 +0000 (15:40 +0200)
commitc9a7dc2c5279830c0ad77715c0ace3e1edb07f4c
treecde63fb72a1ee02a2c3d1826ebebd2ca68d3454a
parent8f4f4ef6fed55a3636db3146a3e50b7febcbd7de
ALSA: wss_lib: rework snd_ad1848_probe()

Make snd_ad1848_probe() easier to follow. With an exception for only
trying once as soon as the codec is out of init (which should be all
that's needed) the detection logic should be unchanged.

Signed-off-by: Rene Herman <rene.herman@gmail.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/isa/wss/wss_lib.c