All of lore.kernel.org
 help / color / mirror / Atom feed
* HDSP9652 fix
@ 2003-04-09  7:43 Thomas Charbonnel
  2003-04-09 13:18 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Charbonnel @ 2003-04-09  7:43 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 150 bytes --]

Hi,

This patch fixes a problem with HDSP9652 cards. Thanks to Joshua N
Pritikin for pointing to bug to me and helping in tracking it down.

Thomas



[-- Attachment #2: hdsp9652.patch --]
[-- Type: text/plain, Size: 363 bytes --]

--- hdsp.c.old	2003-04-08 18:19:00.000000000 +0200
+++ hdsp.c	2003-04-08 20:16:08.000000000 +0200
@@ -3025,7 +3025,7 @@
 		hdsp->mixer_matrix[i] = MINUS_INFINITY_GAIN;
 	}
 
-	for (i = 0; i < 2048; i++) {
+	for (i = 0; i < (hdsp_is_9652(hdsp) ? 1352 : HDSP_MATRIX_MIXER_SIZE); i++) {
 		if (hdsp_write_gain (hdsp, i, MINUS_INFINITY_GAIN)) {
 			return -EIO;
 		}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-09 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09  7:43 HDSP9652 fix Thomas Charbonnel
2003-04-09 13:18 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.