diff options
author | Liam Girdwood <lg@opensource.wolfsonmicro.com> | 2008-07-07 11:08:24 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-07-10 03:32:45 -0400 |
commit | 1992a6fbd929196aebe95e0e7b04c4da66c3bfec (patch) | |
tree | 026a5700a8255c3a5d76db98a751c6033f4bcd11 /sound/soc/s3c24xx/neo1973_wm8753.c | |
parent | 917f93ac80a1c007d4a3ce269a3712f93a75728f (diff) |
ALSA: asoc: s3c24xx - merge structs snd_soc_codec_dai and snd_soc_cpu_dai.
This patch merges struct snd_soc_codec_dai and struct
snd_soc_cpu_dai into struct snd_soc_dai for the S3C24xx platform.
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/soc/s3c24xx/neo1973_wm8753.c')
-rw-r--r-- | sound/soc/s3c24xx/neo1973_wm8753.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c index f053e85ff608..51a4ce3dbd19 100644 --- a/sound/soc/s3c24xx/neo1973_wm8753.c +++ b/sound/soc/s3c24xx/neo1973_wm8753.c | |||
@@ -66,8 +66,8 @@ static int neo1973_hifi_hw_params(struct snd_pcm_substream *substream, | |||
66 | struct snd_pcm_hw_params *params) | 66 | struct snd_pcm_hw_params *params) |
67 | { | 67 | { |
68 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 68 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
69 | struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai; | 69 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
70 | struct snd_soc_cpu_dai *cpu_dai = rtd->dai->cpu_dai; | 70 | struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai; |
71 | unsigned int pll_out = 0, bclk = 0; | 71 | unsigned int pll_out = 0, bclk = 0; |
72 | int ret = 0; | 72 | int ret = 0; |
73 | unsigned long iis_clkrate; | 73 | unsigned long iis_clkrate; |
@@ -156,7 +156,7 @@ static int neo1973_hifi_hw_params(struct snd_pcm_substream *substream, | |||
156 | static int neo1973_hifi_hw_free(struct snd_pcm_substream *substream) | 156 | static int neo1973_hifi_hw_free(struct snd_pcm_substream *substream) |
157 | { | 157 | { |
158 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 158 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
159 | struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai; | 159 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
160 | 160 | ||
161 | DBG("Entered %s\n", __func__); | 161 | DBG("Entered %s\n", __func__); |
162 | 162 | ||
@@ -176,7 +176,7 @@ static int neo1973_voice_hw_params(struct snd_pcm_substream *substream, | |||
176 | struct snd_pcm_hw_params *params) | 176 | struct snd_pcm_hw_params *params) |
177 | { | 177 | { |
178 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 178 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
179 | struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai; | 179 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
180 | unsigned int pcmdiv = 0; | 180 | unsigned int pcmdiv = 0; |
181 | int ret = 0; | 181 | int ret = 0; |
182 | unsigned long iis_clkrate; | 182 | unsigned long iis_clkrate; |
@@ -222,7 +222,7 @@ static int neo1973_voice_hw_params(struct snd_pcm_substream *substream, | |||
222 | static int neo1973_voice_hw_free(struct snd_pcm_substream *substream) | 222 | static int neo1973_voice_hw_free(struct snd_pcm_substream *substream) |
223 | { | 223 | { |
224 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 224 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
225 | struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai; | 225 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
226 | 226 | ||
227 | DBG("Entered %s\n", __func__); | 227 | DBG("Entered %s\n", __func__); |
228 | 228 | ||
@@ -546,7 +546,7 @@ static int neo1973_wm8753_init(struct snd_soc_codec *codec) | |||
546 | /* | 546 | /* |
547 | * BT Codec DAI | 547 | * BT Codec DAI |
548 | */ | 548 | */ |
549 | static struct snd_soc_cpu_dai bt_dai = { | 549 | static struct snd_soc_dai bt_dai = { |
550 | .name = "Bluetooth", | 550 | .name = "Bluetooth", |
551 | .id = 0, | 551 | .id = 0, |
552 | .type = SND_SOC_DAI_PCM, | 552 | .type = SND_SOC_DAI_PCM, |