[alsa-devel] [alsa-lib][PATCH v2 2/3] hwdep: add Line6 USB series support

Takashi Sakamoto o-takashi at sakamocchi.jp
Fri Apr 21 17:28:00 CEST 2017


Drivers for Line6 USB series was firstly added to staging directory at
development period of v2.6.30 kernel. At v4.9 kernel development, they
were moved to sound directory. The drivers include HwDep interface, while
header in user space library has never been updated for an entry
corresponding to the drivers.

This commit adds the entry.

Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
---
 include/hwdep.h        | 3 ++-
 include/sound/asound.h | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/hwdep.h b/include/hwdep.h
index 2fe78cd..e09703c 100644
--- a/include/hwdep.h
+++ b/include/hwdep.h
@@ -76,8 +76,9 @@ typedef enum _snd_hwdep_iface {
 	SND_HWDEP_IFACE_FW_OXFW,	/**< Oxford OXFW970/971 based device */
 	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_LAST = SND_HWDEP_IFACE_FW_TASCAM	/**< last known hwdep interface */
+	SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_LINE6,	/**< last known hwdep interface */
 } snd_hwdep_iface_t;
 
 /** open for reading */
diff --git a/include/sound/asound.h b/include/sound/asound.h
index 609cadb..36d1681 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -106,9 +106,10 @@ enum {
 	SNDRV_HWDEP_IFACE_FW_OXFW,	/* Oxford OXFW970/971 based device */
 	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 */
 
 	/* Don't forget to change the following: */
-	SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_TASCAM
+	SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_LINE6,
 };
 
 struct snd_hwdep_info {
-- 
2.9.3



More information about the Alsa-devel mailing list