diff options
| author | Sudheer Papothi <spapothi@codeaurora.org> | 2016-01-29 01:21:10 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:10:00 -0700 |
| commit | 23b12cca62af5cf3f3480f76d4b20debc9cc7995 (patch) | |
| tree | fda74537f88be93a22b396a32a2c7958cb3e13fd /sound/soc/soc-pcm.c | |
| parent | edf8d7c3367ec55905a8fce182c5cad16cf27874 (diff) | |
soc: Add audio backend to hwdep interface
Add audio backend to hwdep interface. This is to provide ioctl
interface to communicate to routing driver.
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Diffstat (limited to 'sound/soc/soc-pcm.c')
| -rw-r--r-- | sound/soc/soc-pcm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index b8013d4d218f..92188446e779 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -2658,6 +2658,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; } |
