hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/sound/pci/au88x0/au88x0_eqdata.c
....@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: GPL-2.0
22 /* Data structs */
33
4
-static u16 asEqCoefsZeros[50] = {
4
+static const u16 asEqCoefsZeros[50] = {
55 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
66 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
77 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
....@@ -14,7 +14,7 @@
1414 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
1515 };
1616
17
-static u16 asEqCoefsPipes[64] = {
17
+static const u16 asEqCoefsPipes[64] = {
1818 0x0000, 0x0000,
1919 0x0000, 0x0666, 0x0000, 0x0000, 0x0666,
2020 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
....@@ -33,7 +33,7 @@
3333 };
3434
3535 /* More coef sets can be found in the win2k "inf" file. */
36
-static auxxEqCoeffSet_t asEqCoefsNormal = {
36
+static const auxxEqCoeffSet_t asEqCoefsNormal = {
3737 .LeftCoefs = {
3838 0x7e60, 0xc19e, 0x0001, 0x0002, 0x0001,
3939 0x7fa0, 0xc05f, 0x004f, 0x0000, 0xffb1,
....@@ -66,7 +66,7 @@
6666 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96}
6767 };
6868
69
-static u16 eq_gains_normal[20] = {
69
+static const u16 eq_gains_normal[20] = {
7070 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
7171 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
7272 0x3e96, 0x3e96, 0x3e96, 0x3e96, 0x3e96,
....@@ -74,22 +74,22 @@
7474 };
7575
7676 /* _rodatab60 */
77
-static u16 eq_gains_zero[10] = {
77
+static const u16 eq_gains_zero[10] = {
7878 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
7979 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
8080 };
8181
8282 /* _rodatab7c: ProgramPipe */
83
-static u16 eq_gains_current[12] = {
83
+static const u16 eq_gains_current[12] = {
8484 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
8585 0x7fff,
8686 0x7fff, 0x7fff, 0x7fff
8787 };
8888
8989 /* _rodatab78 */
90
-static u16 eq_states_zero[2] = { 0x0000, 0x0000 };
90
+static const u16 eq_states_zero[2] = { 0x0000, 0x0000 };
9191
92
-static u16 asEqOutStateZeros[48] = {
92
+static const u16 asEqOutStateZeros[48] = {
9393 0x0000, 0x0000, 0x0000, 0x0000,
9494 0x0000, 0x0000, 0x0000, 0x0000,
9595 0x0000, 0x0000, 0x0000, 0x0000,
....@@ -105,7 +105,7 @@
105105 };
106106
107107 /*_rodataba0:*/
108
-static u16 eq_levels[64] = {
108
+static const u16 eq_levels[64] = {
109109 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
110110 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
111111 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,