Hi,
The attached patch fixes the spdifFrequency bitmasks in the hdsp driver.
Applies on top of Paul's version II patch. Includes my preceding
"missing break" patch.
Thomas
--- hdsp.c.orig 2003-03-05 19:23:52.000000000 +0100
+++ hdsp.c 2003-03-11 18:27:38.000000000 +0100
@@ -240,13 +240,13 @@
#define HDSP_spdifFrequencyMask
(HDSP_spdifFrequency0|HDSP_spdifFrequency1|HDSP_spdifFrequency2)
-#define HDSP_spdifFrequency32KHz
(HDSP_spdifFrequency0|HDSP_spdifFrequency1|HDSP_spdifFrequency2)
-#define HDSP_spdifFrequency44_1KHz (HDSP_spdifFrequency2|HDSP_spdifFrequency1)
-#define HDSP_spdifFrequency48KHz (HDSP_spdifFrequency0|HDSP_spdifFrequency2)
-
-#define HDSP_spdifFrequency64KHz 0
-#define HDSP_spdifFrequency88_2KHz (HDSP_spdifFrequency2)
-#define HDSP_spdifFrequency96KHz (HDSP_spdifFrequency0|HDSP_spdifFrequency1)
+#define HDSP_spdifFrequency32KHz (HDSP_spdifFrequency0)
+#define HDSP_spdifFrequency44_1KHz (HDSP_spdifFrequency1)
+#define HDSP_spdifFrequency48KHz (HDSP_spdifFrequency0|HDSP_spdifFrequency1)
+
+#define HDSP_spdifFrequency64KHz (HDSP_spdifFrequency2)
+#define HDSP_spdifFrequency88_2KHz (HDSP_spdifFrequency0|HDSP_spdifFrequency2)
+#define HDSP_spdifFrequency96KHz (HDSP_spdifFrequency2|HDSP_spdifFrequency1)
/* Status2 Register bits */
@@ -3002,9 +3002,9 @@
case 0xa:
case 0x64:
firmware_ptr = (u32 *) multiface_firmware;
+ break;
default:
firmware_ptr = (u32 *) multiface_firmware_rev11;
- break;
}
}