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

Commit b30fa891 authored by Meng Wang's avatar Meng Wang
Browse files

SoC: soc-pcm: call pcm_new when creating new pcm



Call pcm_new when creating a new PCM to settup coherent dma mask.

Change-Id: Ic3e906df4b9acbe0497241352e710442086b27d9
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
parent 058dad3c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3054,6 +3054,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;
	}