Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 946ef014 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Asoc: Add audio backend to hwdep interface"

parents 14d6a78d 4816300e
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -111,11 +111,20 @@ enum {
	SNDRV_HWDEP_IFACE_LINE6,	/* Line6 USB processors */
	SNDRV_HWDEP_IFACE_FW_MOTU,	/* MOTU FireWire series */
	SNDRV_HWDEP_IFACE_FW_FIREFACE,	/* RME Fireface series */
#ifdef CONFIG_AUDIO_QGKI
	SNDRV_HWDEP_IFACE_AUDIO_CODEC,  /* codec Audio Control */

	/* Don't forget to change the following: */
	SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_AUDIO_CODEC
#else
	SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_FIREFACE
#endif
};

#ifdef CONFIG_AUDIO_QGKI
#define SNDRV_HWDEP_IFACE_AUDIO_CODEC SNDRV_HWDEP_IFACE_AUDIO_CODEC
#endif

struct snd_hwdep_info {
	unsigned int device;		/* WR: device number */
	int card;			/* R: card number */