linux-stable/sound/soc/uniphier
Colin Ian King 5d925d9823
ASoC: uniphier: make arrays mul and div static const, makes object smaller
Don't populate the arrays mul and div on the stack but instead make them
static const. Makes the object code smaller by 4 bytes.

Before:
   text    data     bss     dec     hex filename
  16226    4984      64   21274    531a ./sound/soc/uniphier/aio-cpu.o

After:
   text    data     bss     dec     hex filename
  16062    5144      64   21270    5316 ./sound/soc/uniphier/aio-cpu.o

(gcc version 10.2.0)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/r/20210818151746.38520-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-08-19 18:21:23 +01:00
..
aio-compress.c ASoC: uniphier: use snd_compress_ops 2020-04-21 19:01:56 +01:00
aio-core.c ASoC: uniphier: aio-core: fix kernel-doc 2020-07-09 21:56:43 +01:00
aio-cpu.c ASoC: uniphier: make arrays mul and div static const, makes object smaller 2021-08-19 18:21:23 +01:00
aio-dma.c ASoC: uniphier: Fix reference to PCM buffer address 2021-07-30 17:20:50 +01:00
aio-ld11.c ASoC: uniphier: mark OF related data as maybe unused 2020-11-26 13:07:09 +00:00
aio-pxs2.c ASoC: uniphier: mark OF related data as maybe unused 2020-11-26 13:07:09 +00:00
aio-reg.h ASoC: uniphier: add support for multichannel output 2018-07-30 12:02:31 +01:00
aio.h ASoC: uniphier: use snd_compress_ops 2020-04-21 19:01:56 +01:00
evea.c ASoC: uniphier: mark OF related data as maybe unused 2020-11-26 13:07:09 +00:00
Kconfig ASoC: uniphier: add support for UniPhier PXs2 AIO 2018-03-09 15:49:42 +00:00
Makefile ASoC: uniphier: add support for UniPhier PXs2 AIO 2018-03-09 15:49:42 +00:00