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

Commit a19486ba authored by Banajit Goswami's avatar Banajit Goswami
Browse files

soc: Add audio backend to hwdep interface



Add audio backend to hwdep interface. This is to provide ioctl
interface to communicate to routing driver.

Change-Id: I9abeb9cdf3ea58d9fac13eef5d849c8aadf1bfbf
Signed-off-by: default avatarSubhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: default avatarKrishnankutty Kolathappilly <kkolat@codeaurora.org>
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent bdc375ea
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -107,9 +107,10 @@ 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_AUDIO_BE,	/* Backend Audio Control */

	/* Don't forget to change the following: */
	SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_LINE6
	SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_AUDIO_BE
};

struct snd_hwdep_info {
+2 −0
Original line number Diff line number Diff line
@@ -2805,6 +2805,8 @@ int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num)
			pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->private_data = rtd;
		if (capture)
			pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->private_data = rtd;
		if (platform->driver->pcm_new)
			rtd->platform->driver->pcm_new(rtd);
		goto out;
	}