diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-07-31 15:09:32 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-08-06 09:39:56 -0400 |
commit | ead893c0deeec165524cc8a06e7e739d7d84b4c4 (patch) | |
tree | 86881775a9f4e7052eded95747fd8854d043fdda /sound/isa/sgalaxy.c | |
parent | 5664daa1c1fa250dd7f6b336278b0402638e8edc (diff) |
ALSA: wss_lib: use wss pcm code instead of ad1848 one
Use the wss pcm code and kill the ad1848 pcm code.
The AD1848 chip is much slower than CS4231 chips
so the waiting loop was increased 100x (10x is not
enough).
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Reviewed-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/isa/sgalaxy.c')
-rw-r--r-- | sound/isa/sgalaxy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/isa/sgalaxy.c b/sound/isa/sgalaxy.c index e4f06de3480c..b43d6678ba20 100644 --- a/sound/isa/sgalaxy.c +++ b/sound/isa/sgalaxy.c | |||
@@ -273,8 +273,9 @@ static int __devinit snd_sgalaxy_probe(struct device *devptr, unsigned int dev) | |||
273 | goto _err; | 273 | goto _err; |
274 | card->private_data = chip; | 274 | card->private_data = chip; |
275 | 275 | ||
276 | if ((err = snd_ad1848_pcm(chip, 0, NULL)) < 0) { | 276 | err = snd_wss_pcm(chip, 0, NULL); |
277 | snd_printdd(PFX "error creating new ad1848 PCM device\n"); | 277 | if (err < 0) { |
278 | snd_printdd(PFX "error creating new WSS PCM device\n"); | ||
278 | goto _err; | 279 | goto _err; |
279 | } | 280 | } |
280 | err = snd_wss_mixer(chip); | 281 | err = snd_wss_mixer(chip); |