diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-05 17:47:17 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-05 18:14:27 +0300 |
commit | fa35aa46077794de446ddd4bcaf809c2fd041ce2 (patch) | |
tree | e2bda1480218e724a0f7cec90573edf9ea24a71e /sound/aoa/codecs/tas-gain-table.h | |
parent | f5f87abfb745aa6eb5c5f9bdf8b5a64600692506 (diff) | |
download | linux-fa35aa46077794de446ddd4bcaf809c2fd041ce2.tar.xz |
ALSA: aoa: More constifications
Apply const prefix at every place where appropriate: the static
register tables, the volume tables and the callback tables.
Just for minor optimization and no functional changes.
Link: https://lore.kernel.org/r/20200105144823.29547-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa/codecs/tas-gain-table.h')
-rw-r--r-- | sound/aoa/codecs/tas-gain-table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/codecs/tas-gain-table.h b/sound/aoa/codecs/tas-gain-table.h index 77b8e7dc55fd..c9ea01488181 100644 --- a/sound/aoa/codecs/tas-gain-table.h +++ b/sound/aoa/codecs/tas-gain-table.h @@ -27,7 +27,7 @@ int main() { * as easy as calculating * hwvalue = 1048576.0*exp(0.057564628*dB*2) * :) */ -static int tas_gaintable[] = { +static const int tas_gaintable[] = { 0x000000, /* -infinity dB */ 0x00014b, /* -70.0 dB */ 0x00015f, /* -69.5 dB */ |