diff options
author | Liam Girdwood <lg@opensource.wolfsonmicro.com> | 2008-07-07 17:07:29 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-07-10 09:32:34 +0200 |
commit | 453ba20b2800bc07a3eaf220010dc0127cc552fd (patch) | |
tree | 37cf98140804d200a6e93285b9260d9f44ea4b87 /sound/soc/at32/playpaq_wm8510.c | |
parent | ALSA: asoc: core - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. (diff) | |
download | linux-453ba20b2800bc07a3eaf220010dc0127cc552fd.tar.xz linux-453ba20b2800bc07a3eaf220010dc0127cc552fd.zip |
ALSA: asoc: at32 - merge structs snd_soc_codec_dai and snd_soc_cpu_dai.
This patch series merges struct snd_soc_codec_dai and struct
snd_soc_cpu_dai into struct snd_soc_dai for AT32 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/at32/playpaq_wm8510.c')
-rw-r--r-- | sound/soc/at32/playpaq_wm8510.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/at32/playpaq_wm8510.c b/sound/soc/at32/playpaq_wm8510.c index d6b9fd5e6123..18ac7d7391c1 100644 --- a/sound/soc/at32/playpaq_wm8510.c +++ b/sound/soc/at32/playpaq_wm8510.c @@ -82,7 +82,7 @@ static struct clk *_pll0; #if defined CONFIG_SND_AT32_SOC_PLAYPAQ_SLAVE static struct ssc_clock_data playpaq_wm8510_calc_ssc_clock( struct snd_pcm_hw_params *params, - struct snd_soc_cpu_dai *cpu_dai) + struct snd_soc_dai *cpu_dai) { struct at32_ssc_info *ssc_p = cpu_dai->private_data; struct ssc_device *ssc = ssc_p->ssc; @@ -132,8 +132,8 @@ static int playpaq_wm8510_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) { struct snd_soc_pcm_runtime *rtd = substream->private_data; - struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai; - struct snd_soc_cpu_dai *cpu_dai = rtd->dai->cpu_dai; + struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; + struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai; struct at32_ssc_info *ssc_p = cpu_dai->private_data; struct ssc_device *ssc = ssc_p->ssc; unsigned int pll_out = 0, bclk = 0, mclk_div = 0; |