mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
ALSA: aw2: More constifications
Apply const prefix to the static parameter tables. Just for minor optimization and no functional changes. Link: https://lore.kernel.org/r/20200105144823.29547-55-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
616986985d
commit
26170691ff
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@
|
||||||
/* SD3: >-------<_4-L___>-------<_4-R___> */
|
/* SD3: >-------<_4-L___>-------<_4-R___> */
|
||||||
/* WS4: -------\_______________/--------- */
|
/* WS4: -------\_______________/--------- */
|
||||||
|
|
||||||
static int tsl1[8] = {
|
static const int tsl1[8] = {
|
||||||
1 * TSL_SDW_A1 | 3 * TSL_BSEL_A1 |
|
1 * TSL_SDW_A1 | 3 * TSL_BSEL_A1 |
|
||||||
0 * TSL_DIS_A1 | 0 * TSL_DOD_A1 | TSL_LF_A1,
|
0 * TSL_DIS_A1 | 0 * TSL_DOD_A1 | TSL_LF_A1,
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ static int tsl1[8] = {
|
||||||
0 * TSL_DOD_A1 | TSL_WS1 | TSL_WS0 | TSL_SF_A1 | TSL_EOS,
|
0 * TSL_DOD_A1 | TSL_WS1 | TSL_WS0 | TSL_SF_A1 | TSL_EOS,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int tsl2[8] = {
|
static const int tsl2[8] = {
|
||||||
0 * TSL_SDW_A2 | 3 * TSL_BSEL_A2 | 2 * TSL_DOD_A2 | TSL_LF_A2,
|
0 * TSL_SDW_A2 | 3 * TSL_BSEL_A2 | 2 * TSL_DOD_A2 | TSL_LF_A2,
|
||||||
0 * TSL_SDW_A2 | 2 * TSL_BSEL_A2 | 2 * TSL_DOD_A2,
|
0 * TSL_SDW_A2 | 2 * TSL_BSEL_A2 | 2 * TSL_DOD_A2,
|
||||||
0 * TSL_SDW_A2 | 3 * TSL_BSEL_A2 | 2 * TSL_DOD_A2,
|
0 * TSL_SDW_A2 | 3 * TSL_BSEL_A2 | 2 * TSL_DOD_A2,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue