diff options
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; | |||
82 | #if defined CONFIG_SND_AT32_SOC_PLAYPAQ_SLAVE | 82 | #if defined CONFIG_SND_AT32_SOC_PLAYPAQ_SLAVE |
83 | static struct ssc_clock_data playpaq_wm8510_calc_ssc_clock( | 83 | static struct ssc_clock_data playpaq_wm8510_calc_ssc_clock( |
84 | struct snd_pcm_hw_params *params, | 84 | struct snd_pcm_hw_params *params, |
85 | struct snd_soc_cpu_dai *cpu_dai) | 85 | struct snd_soc_dai *cpu_dai) |
86 | { | 86 | { |
87 | struct at32_ssc_info *ssc_p = cpu_dai->private_data; | 87 | struct at32_ssc_info *ssc_p = cpu_dai->private_data; |
88 | struct ssc_device *ssc = ssc_p->ssc; | 88 | struct ssc_device *ssc = ssc_p->ssc; |
@@ -132,8 +132,8 @@ static int playpaq_wm8510_hw_params(struct snd_pcm_substream *substream, | |||
132 | struct snd_pcm_hw_params *params) | 132 | struct snd_pcm_hw_params *params) |
133 | { | 133 | { |
134 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 134 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
135 | struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai; | 135 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
136 | struct snd_soc_cpu_dai *cpu_dai = rtd->dai->cpu_dai; | 136 | struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai; |
137 | struct at32_ssc_info *ssc_p = cpu_dai->private_data; | 137 | struct at32_ssc_info *ssc_p = cpu_dai->private_data; |
138 | struct ssc_device *ssc = ssc_p->ssc; | 138 | struct ssc_device *ssc = ssc_p->ssc; |
139 | unsigned int pll_out = 0, bclk = 0, mclk_div = 0; | 139 | unsigned int pll_out = 0, bclk = 0, mclk_div = 0; |