From fbc18ec77179bd975b58d93716be6cac58d51169 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Sat, 22 Apr 2017 00:28:01 +0900 Subject: [PATCH] hwdep: add support for MOTU FireWire series and RME Fireface series Drivers for MOTU FireWire series and RME Fireface series were newly added to v4.12 kernel. Like the other drivers in ALSA firewire stack, they also support HwDep interface. This commit add entries for the drivers. Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai --- include/hwdep.h | 4 +++- include/sound/asound.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/hwdep.h b/include/hwdep.h index e09703c2..ac713680 100644 --- a/include/hwdep.h +++ b/include/hwdep.h @@ -77,8 +77,10 @@ typedef enum _snd_hwdep_iface { SND_HWDEP_IFACE_FW_DIGI00X, /* Digidesign Digi 002/003 family */ SND_HWDEP_IFACE_FW_TASCAM, /* TASCAM FireWire series */ SND_HWDEP_IFACE_LINE6, /* Line6 USB processors */ + SND_HWDEP_IFACE_FW_MOTU, /* MOTU FireWire series */ + SND_HWDEP_IFACE_FW_FIREFACE, /* RME Fireface series */ - SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_LINE6, /**< last known hwdep interface */ + SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_FW_FIREFACE, /**< last known hwdep interface */ } snd_hwdep_iface_t; /** open for reading */ diff --git a/include/sound/asound.h b/include/sound/asound.h index 36d1681e..fb8d7d7e 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h @@ -107,9 +107,11 @@ enum { SNDRV_HWDEP_IFACE_FW_DIGI00X, /* Digidesign Digi 002/003 family */ SNDRV_HWDEP_IFACE_FW_TASCAM, /* TASCAM FireWire series */ SNDRV_HWDEP_IFACE_LINE6, /* Line6 USB processors */ + SNDRV_HWDEP_IFACE_FW_MOTU, /* MOTU FireWire series */ + SNDRV_HWDEP_IFACE_FW_FIREFACE, /* RME Fireface series */ /* Don't forget to change the following: */ - SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_LINE6, + SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_FIREFACE, }; struct snd_hwdep_info { -- 2.47.1