Home
last modified time | relevance | path

Searched hist:"511 cbe8f59e30cd09a04c1dbafe6337d9111e88a" (Results 1 – 1 of 1) sorted by relevance

/linux/sound/pci/emu10k1/
H A Demumixer.cdiff 511cbe8f59e30cd09a04c1dbafe6337d9111e88a Tue May 16 11:36:06 CEST 2023 Oswald Buddenhagen <oswald.buddenhagen@gmx.de> ALSA: emu10k1: un-hardcode E-MU mixer control callbacks somewhat

Instead of hard-coding the card-specific arrays and their sizes in each
function, use a more data-driven approach.

As a drive-by, also hide the unavailable I2S input destinations on the
1616 cardbus card.

Also as a drive-by, use more assignments at variable declaration for
brevity. This also removes the pointless masking of kctl.private_value.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230516093612.3536508-5-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>