[alsa-devel] [PATCH] cs4231: remove one busy wait

Krzysztof Helt krzysztof.h1 at poczta.fm
Fri Jan 11 22:53:03 CET 2008


From: Krzysztof Helt <krzysztof.h1 at wp.pl>

This busy_wait is not needed after latest changes
to the cs4231-lib

Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>

---
Just after this busy wait is 1ms sleep then waiting loop.

--- linux-2.6.22/sound/isa/cs423x/cs4231_lib.c	2007-09-11 00:02:15.000000000 +0200
+++ linux-2.6.23/sound/isa/cs423x/cs4231_lib.c	2007-09-11 00:03:36.619095346 +0200
@@ -332,7 +332,6 @@ void snd_cs4231_mce_down(struct snd_cs42
 	    !(chip->hardware & (CS4231_HW_CS4231_MASK | CS4231_HW_CS4232_MASK))) {
 		return;
 	}
-	snd_cs4231_busy_wait(chip);
 
 	/*
 	 * Wait for (possible -- during init auto-calibration may not be set)


----------------------------------------------------------------------
Chcesz kupic aparat? Sprawdz, ktory jest najlepszy!
Kliknij >>> http://link.interia.pl/f1cd3



More information about the Alsa-devel mailing list