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)
commit782222bab83a31f70c427b59587ada963d6c59c3
treedbb295c0018626eb2b69de00ba82f2dae1887492
parentc52f232e11077555cdd515f25376afa54ac36296
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