ASOC: SND_SOC_DAI: Get rid of 'runtime' field
PATCH 3/3 ASOC: SND_SOC_DAI: Get rid of 'runtime' field
[PATCH 3/3] ASOC: SND_SOC_DAI: Get rid of 'runtime' field
In order for having snd_soc_dai's shared among two or more dai_links, remove the relatively global 'runtime' field from the 'struct snd_soc_dai'
--- include/sound/soc-dai.h | 1 - sound/soc/soc-core.c | 2 -- 2 files changed, 0 insertions(+), 3 deletions(-)
From 21d4d286824ca9ddc9a7b3ffaf3610792a3fe2f4 Mon Sep 17 00:00:00 2001
From: Jassi Brar <[email protected]>
Date: Fri, 19 Feb 2010 17:59:41 +0900
Subject: [PATCH 3/3] ASOC: SND_SOC_DAI: Get rid of 'runtime' field
In order for having snd_soc_dai's shared among two or more dai_links, remove the relatively global 'runtime' field from the 'struct snd_soc_dai'
--- include/sound/soc-dai.h | 1 - sound/soc/soc-core.c | 2 -- 2 files changed, 0 insertions(+), 3 deletions(-)
include/sound/soc-dai.h +0 -1
@@ -215,7 +215,6 @@ struct snd_soc_dai { unsigned int symmetric_rates:1;/* DAI runtime info */ -struct snd_pcm_runtime *runtime;struct snd_soc_codec *codec;unsigned int active; unsigned char pop_wait:1;
sound/soc/soc-core.c +0 -2
@@ -459,7 +459,6 @@ static int soc_pcm_open(struct snd_pcm_substream *substream)else cpu_dai->capture.active = codec_dai->capture.active =1 ; cpu_dai->active = codec_dai->active =1 ; - cpu_dai->runtime = runtime; card->codec->active++;mutex_unlock (&pcm_mutex);return 0 ;
@@ -559,7 +558,6 @@ static int soc_codec_close(struct snd_pcm_substream *substream)if (platform->pcm_ops->close) platform->pcm_ops->close (substream); - cpu_dai->runtime =NULL ;if (substream->stream ==SNDRV_PCM_STREAM_PLAYBACK ) {/* start delayed pop wq here for playback streams */
Signature · 1 line
1.6.2.5
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel