diff mbox

[alsa-lib,v2,3/3] hwdep: add support for MOTU FireWire series and RME Fireface series

Message ID 20170421152801.19649-4-o-takashi@sakamocchi.jp (mailing list archive)
State New, archived
Headers show

Commit Message

Takashi Sakamoto April 21, 2017, 3:28 p.m. UTC
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 <o-takashi@sakamocchi.jp>
---
 include/hwdep.h        | 4 +++-
 include/sound/asound.h | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/include/hwdep.h b/include/hwdep.h
index e09703c..ac71368 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 36d1681..fb8d7d7 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 {