ALSA: emu10k1: make struct snd_emu1010 less wasteful
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Tue, 16 May 2023 09:36:12 +0000 (11:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 May 2023 15:07:59 +0000 (17:07 +0200)
commit216abe45cf4addba4e4c1eb2fae24762ffdefe9e
treeb7668394704b93bc03bd65a8a6b2b6e6e5e6eaa7
parent6f3609f8a3da1214cd78f8a8a2ee2dab8fcc4505
ALSA: emu10k1: make struct snd_emu1010 less wasteful

Shrink the {in,out}put_source arrays and their data type to what is
actually necessary.

To be still on the safe side, add some static asserts.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230516093612.3536508-11-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/emu10k1.h
sound/pci/emu10k1/emumixer.c