ALSA: fireface: code refactoring to add enumeration constants for model identification
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 10 May 2020 07:42:58 +0000 (16:42 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sun, 10 May 2020 10:03:48 +0000 (12:03 +0200)
commitc52f232e11077555cdd515f25376afa54ac36296
treec90ddff145d8667f1e110948b05c2bc3581d99ae
parentf4588cc425beb62e355bc2a5de5d5c83e26a74ca
ALSA: fireface: code refactoring to add enumeration constants for model identification

In RME fireface series, version field of unit directory in configuration
ROM is used to distinguish each model. The value of field is known and
it's better to use enumeration constants for code representation.

This commit adds enumeration constants for model identification.

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