]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: fireface: code refactoring to decide name of sound card
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 10 May 2020 07:42:59 +0000 (16:42 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sun, 10 May 2020 10:03:49 +0000 (12:03 +0200)
commit3ec823c87679343b4a84a5056d85b95932249083
treedbb295c0018626eb2b69de00ba82f2dae1887492
parent776b107e917ad65293d4d5c75e9166c4a0bfd053
ALSA: fireface: code refactoring to decide name of sound card

This commit uses enumeration constants as index of table for the
list of name of sound card.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20200510074301.116224-5-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireface/ff.c
sound/firewire/fireface/ff.h